Manuals/calci/MATRIXREPLACECOLUMN

From ZCubes Wiki
Jump to navigation Jump to search
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

Related Videos

Column Matrix

See Also

References