[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/elmat]
rot90
(/tools/hpmatlab/toolbox/matlab/elmat/rot90.m)
Function Synopsis
B = rot90(A,k)
Help text
ROT90 Rotate matrix 90 degrees.
rot90(A) is the 90 degree rotation of m x n matrix A.
rot90(A,k) is the k*90 degree rotation of A, k = +-1,+-2,...
For example,
A = [1 2 3 B = rot90(A) = [ 3 6
4 5 6 ] 2 5
1 4 ]
mesh(B) then shows a 90 degree counter-clockwise rotation
of mesh(A).
See also VIEW, FLIPUD, FLIPLR.
Cross-Reference Information
This function calls
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- rem /tools/hpmatlab/toolbox/matlab/elfun/rem.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
This function is called by
- filter2 /tools/hpmatlab/toolbox/matlab/datafun/filter2.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON