Difference between revisions of "Manuals/calci/MATRIXREPLACECOLUMN"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
==See Also== | ==See Also== | ||
− | *[[Manuals/calci/ | + | *[[Manuals/calci/MATRIXADD | MATRIXADD ]] |
*[[Manuals/calci/MMULT | MMULT]] | *[[Manuals/calci/MMULT | MMULT]] | ||
*[[Manuals/calci/MDETERM | MDETERM]] | *[[Manuals/calci/MDETERM | MDETERM]] |
Revision as of 15:49, 27 June 2017
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 |