Redimensioning a Matrix with
Redimensioning
Redimensioning
Redimensioning
with ¿ to redimension an existing
Use
dim(
The elements in the old
Additional created elements are zeros. Matrix elements that are outside the new
dimensions are deleted.
"
{rows,columns}
dim(matrixname)
Fill(
Fill(
Fill(
Fill(
stores
to every element in
Fill(
value
Fill(value,matrixname)
identity(
identity(
identity(
identity(
returns the identity matrix of
identity(
Chapter 10: Matrices
a Matrix with dim(
dim(
a Matrix with
a Matrix with
dim(
dim(
that are within the new dimensions are not changed.
matrixname
matrixname
dimension
to dimensions
matrixname
.
rows ×
columns.
dimension
×
.
rows
columns
239