1. How do I find the number at a certain location in a matrix? ✓

2. How are row operation commands used?

3. How do you determine the dimensions of a matrix?

**Edited by somebody1234, 09 February 2014 - 09:45 AM.**

Started by
somebody1234
, Feb 08 2014 11:11 PM

1 reply to this topic

Posted 08 February 2014 - 11:11 PM

I'm trying to get a program to do Gauss-Jordan reduction.

1. How do I find the number at a certain location in a matrix? ✓

2. How are row operation commands used?

3. How do you determine the dimensions of a matrix?

1. How do I find the number at a certain location in a matrix? ✓

2. How are row operation commands used?

3. How do you determine the dimensions of a matrix?

**Edited by somebody1234, 09 February 2014 - 09:45 AM.**

Posted 09 February 2014 - 03:53 AM

To get the value of a matrix cell, do this:

For instance, if I were to try to get the value of the cell 1,2 of Mat A, I would do this:

You can use that in an

Mat <letter>[x,y]

For instance, if I were to try to get the value of the cell 1,2 of Mat A, I would do this:

Mat A[1,2]

You can use that in an

`if`

statement as well:If Mat A[1,2]=3 Then "Its 3!" IfEnd

0 members, 0 guests, 0 anonymous users