Skip to main content
1-Visitor
November 2, 2014
Question

Select data in a matrix

  • November 2, 2014
  • 3 replies
  • 1573 views

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

3 replies

1-Visitor
November 2, 2014

Submatrix should work.

1-Visitor
November 2, 2014

Have a look below.

Clipboard01.jpg

25-Diamond I
November 2, 2014

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

1-Visitor
November 2, 2014

Nice function.