Re: Interesting TI Nspire CAS CX programming features Message #4 Posted by Namir on 15 Apr 2012, 4:22 p.m., in response to message #2 by Joerg Woerner
I did find the newMat command to create matrices of any size and with zeros as initial value for the matrix elements. The TI Nspire has the construtMat function that creates a matrix of any size and fill its values based on a user-defined expression that uses the indices of the rows and columns. For example,
constructMat(1/(i+j),i,j,3,4)->A
creates a matrix, A, with 3 rows and 4 columns. The value of each element A(i,j) is based on the values of row index i and column index j using the expression 1/(i+j).
Finally, the function randMat creates a matrix of any size with random values in its elements.
Namir
Edited: 15 Apr 2012, 4:23 p.m.
|