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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Changing the Dimensions of a Matrix

ptc-5379476
1-Visitor

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
Werner_E
25-Diamond I
(To:ptc-5379476)

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

Announcements

Top Tags