From bug-octave-request at bevo dot che dot wisc dot edu Sun Dec 21 10:04:42 2003 Subject: Missing ND array functionality From: "John W. Eaton" To: Quentin Spencer Cc: bug-octave at bevo dot che dot wisc dot edu Date: Sun, 21 Dec 2003 09:40:41 -0600 On 20-Dec-2003, Quentin Spencer wrote: | 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. We have permute and ipermute. Can shiftdim be based on that? jwe ------------------------------------------------------------- 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 -------------------------------------------------------------