TI-BASIC Wiki
Advertisement


:randM(rows,columns)

This returns a matrix with dimensions [[Bracket|{}}rows,columns}. The matrix will have a random number between -9 and 9 in each element.

Location[]

  • X-1 + 2ND (MATRIX)
  • MATH
  • 6:randM(

Example[]

:randM(5,1)→[A]
:Matr▶list([A],L1)

This example shows how to create a list with random elements between -9 and 9. The random matrix is made, the the single row is turned into a list.

Advertisement