From: Pinpress on
Hi,

I have an RGB image in the form:

N-M-3

I would like to rotate the view, so to make it

M-N-3

However, if I use rot90, or transpose, it does not work as this is a 3D matrix and those methods are for 2D. Any way to achieve this by not having to rotate each of the 2D individual matrix? thanks.
From: Steven Lord on

"Pinpress" <nospam__(a)yahoo.com> wrote in message
news:hmj7qe$dda$1(a)fred.mathworks.com...
> Hi,
>
> I have an RGB image in the form:
>
> N-M-3
>
> I would like to rotate the view, so to make it
> M-N-3
>
> However, if I use rot90, or transpose, it does not work as this is a 3D
> matrix and those methods are for 2D. Any way to achieve this by not having
> to rotate each of the 2D individual matrix? thanks.
>

HELP PERMUTE.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ