Difference between revisions of "Manuals/calci/MATRIXROTATE"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''MATRIXROTATE (a,NumberOfSteps)'''</div><br/> *<math>a</math> is any matrix. *<math>NumberOfSteps</math> number of steps. ==Description== *This ...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
*Here it is rotating the matrix around its center. | *Here it is rotating the matrix around its center. | ||
*So each entries will go right or left and up or down according to the number of steps to be given. | *So each entries will go right or left and up or down according to the number of steps to be given. | ||
− | *For example | + | *For example MATRIXROTATE([[1,-1],[2,-2]],1) = |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 41: | Line 41: | ||
|90 || 14 || 41 || 54 || 14 | |90 || 14 || 41 || 54 || 14 | ||
|} | |} | ||
+ | |||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=Jtu6dJ0Cb94|280|center|Matrix Rotate}} | ||
==See Also== | ==See Also== |
Latest revision as of 13:23, 17 April 2019
MATRIXROTATE (a,NumberOfSteps)
- is any matrix.
- number of steps.
Description
- This function showing the rotation of the matrix.
- In , is any matrix of any order.
- Here it is rotating the matrix around its center.
- So each entries will go right or left and up or down according to the number of steps to be given.
- For example MATRIXROTATE([[1,-1],[2,-2]],1) =
2 | 1 |
-2 | -1 |
- So here 1st row entries are rotated in to 2nd column.
- Also 2nd rows are rotated in to 1st column entries.
Examples
1. MATRIXROTATE([[6,9,12],[43,16,-17],[3,8,10]],2)
3 | 43 | 6 |
8 | 16 | 9 |
10 | -17 | 12 |
2. MATRIXROTATE([[3,8,12,16,10],[22,16,54,11,14],[32,76,89,78,54],[10,13,76,23,41],[67,34,51,90,14]],3)
10 | 32 | 22 | 3 | 8 |
67 | 76 | 13 | 76 | 12 |
34 | 23 | 89 | 16 | 16 |
51 | 78 | 11 | 54 | 10 |
90 | 14 | 41 | 54 | 14 |