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 ...") |
|||
Line 14: | Line 14: | ||
|- | |- | ||
| -2 || -1 | | -2 || -1 | ||
− | |} | + | |}</math> |
*So here 1st row entries are rotated in to 2nd column. | *So here 1st row entries are rotated in to 2nd column. | ||
*Also 2nd rows are rotated in to 1st column entries. | *Also 2nd rows are rotated in to 1st column entries. |
Revision as of 16:50, 27 June 2017
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 Failed to parse (syntax error): {\displaystyle MATRIXROTATE([[1,-1],[2,-2]],1)= {| class="wikitable" |- | 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 |