Difference between revisions of "Manuals/calci/MATRIXREPLACECOLUMN"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
|1 || -1 || 4 || 9 | |1 || -1 || 4 || 9 | ||
|} | |} | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=YGGKSMTYf_Q&t=2s|280|center|Column Matrix}} | ||
==See Also== | ==See Also== |
Latest revision as of 13:05, 17 April 2019
MATRIXREPLACECOLUMN (a,Column,ColumnIndex)
- is any matrix.
Description
- This function replace the column entries with the given values in the given matrix.
- In , is a matrix with any order.
- is the entries to be replaced in the given matrix.
- is the number of the column to be replaced.
- Suppose the column of the given matrix is more than the replaced column then the remaining entries will be displayed as Null.
Examples
1. MATRIXREPLACECOLUMN([[1,-1,2,-1],[2,-2,3,-3],[1,1,1,0],[1,-1,4,3]],[-8,-20,-2,4],3)
1 | -1 | 2 | -8 |
2 | -2 | 3 | -20 |
1 | 1 | 1 | -2 |
1 | -1 | 4 | 4 |
2. MATRIXREPLACECOLUMN([[1,-1,2,-1],[2,-2,3,-3],[1,1,1,0],[1,-1,4,3]],[-8,-2,4,9,31],3)
1 | -1 | 2 | -8 |
2 | -2 | 3 | -2 |
1 | 1 | 1 | 4 |
1 | -1 | 4 | 9 |