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 - 10:45 AM.**

Started by
somebody1234
, Feb 09 2014 12:11 AM

1 reply to this topic

Posted 09 February 2014 - 12:11 AM

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 - 10:45 AM.**

Posted 09 February 2014 - 04: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