From bug-octave-request at bevo dot che dot wisc dot edu Sat Dec 20 19:08:19 2003 Subject: Missing ND array functionality From: Quentin Spencer To: bug-octave at bevo dot che dot wisc dot edu Date: Sat, 20 Dec 2003 19:08:06 -0600 If you have a 3 dimensional array of size (x,y,z), there is not currently a function to "rotate" the dimensions to convert the array to an array of size (y,z,x) (such a conversion in two dimensions would be the same as a transpose). Matlab provides the function "shiftdim" to accomplish this. I think this may be possible using reshape as well. ------------------------------------------------------------- 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 -------------------------------------------------------------