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

Select data in a matrix

Highlighted
Newbie

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

Tags (1)
4 REPLIES 4

Re: Select data in a matrix

Submatrix should work.

Re: Select data in a matrix

Have a look below.

Clipboard01.jpg

Re: Select data in a matrix

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

Re: Select data in a matrix

Nice function.