Get number of rows in a matrix TI-84

739 views Asked by At

I want to find the number of rows a matrix has in order to iterate over the rows using a FOR loop.

But when I use the dim command it returns me a list with two elements, and I do not know how to store the first into a variable.

How could I store the number of rows of [A] into say the variable I?

1

There are 1 answers

0
Codoscope On BEST ANSWER

Just store the result into a list and then extract the first element of the list.

:dim([A]→L1
:L1(1→I