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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Select data in a matrix

ptc-6727461
1-Visitor

Select data in a matrix

Hi. Let's say that I have a 4x4 matrix and i need to select the terms that are optained by crossing out the first column and the second row. I tried with submatrix function but i could not cross out the second row(my matrix is 4x3 and i want it to be 3x3). How do i do it correctly? I'm completly new to MathCad so be patient with me.

Thank you

4 REPLIES 4

Submatrix should work.

Have a look below.

Clipboard01.jpg

Werner_E
25-Diamond I
(To:ptc-6727461)

Submatrix is useful but you have to distinguish three cases (first, last or middle row/column) which makes it a bit unhandy to program. Using a simple loop might look bold but does the job pretty well.

The attached utility function might come handy

1.png

Nice function.

Announcements

Top Tags