Re: setting up multiple arrays using sequential name.
Posted by
Wolfgang Schechinger on
Feb 08, 2009; 1:23pm
URL: http://imagej.273.s1.nabble.com/setting-up-multiple-arrays-using-sequential-name-tp3693809p3693813.html
Hi,
is there something in ImageJ that corresponds to Matlab's or Octave's eval() command in order to assemble commands during runtime from changing parameters?
If not, you might consider to process your data externally with an application like Octave that has been designed for matrices and re-import it into IJ when the numbercrunching has been done.
Octave may be foud at
http://www.ocatve.orgBest reagrds,
Wo
> >>> a1 = newArray(nSlices);
> >>> a2 = newArray(nSlices);
> >>> .
> >>> .
> >>> .
> >>> .
> >>> an = newArray(nSlices);
> >>>
> >>> Could I use "for loop" to do this job? Like:
> >>> for (i=1; i<nImages;i++){
> >>> "a"+i = newArray(nSlices);
> >>> }
> >>>
> >>> I tried this but it seems to me that by concatenating a string and a
> >>> variable couldn't be assigned as the name of array.
> >>>
> >>> Thanks a lot,
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01