From help-octave-request at bevo dot che dot wisc dot edu Thu Feb 5 17:54:32 2004 Subject: indexing structures From: Scott Skjei To: help-octave at bevo dot che dot wisc dot edu Date: Thu, 5 Feb 2004 15:49:32 -0800 Hello, I would like to create a number of data structures with a looping/indexing command. The idea I have is for i = 1:n structure(i).element = a(i,:) endfor so each row i of the matrix a becomes an element of structure(i). Any help would be greatly appreciated. Scott Skjei ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------