cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the Dimensions of a Matrix

Highlighted
Newbie

Changing the Dimensions of a Matrix

I am using mathcad 15 and have a 24x12 matrix, but I do not want the last 9 rows. Is there any way to delete those last 9 rows to create a 15x12 matrix without creating a whole new matrix?

2 REPLIES 2

Re: Changing the Dimensions of a Matrix

You may use the submatrix() command to do so:

MatrixName:=submatrix(MatrixName,0,14,0,11)

I am assuming ORIGIN=0 as is by default.

Re: Changing the Dimensions of a Matrix

Werner Exinger wrote:

You may use the submatrix() command to do so:

MatrixName:=submatrix(MatrixName,0,14,0,11)

I am assuming ORIGIN=0 as is by default.

MatrixName:=submatrix(MatrixName,ORIGIN,ORIGIN+14,ORIGIN,ORIGIN+11)

See and poll please

http://communities.ptc.com/polls/1412