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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Changing the Dimensions of a Matrix

ptc-5379476
1-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

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.

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

Top Tags