Example, Examples -13 – HP 39g Graphing Calculator User Manual
Page 185
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
EIGENVAL
EIGENVV
IDENMAT
INVERSE
LQ
LSQ
LU
MAKEMAT
Displays the eigenvalues in vector forni for
maTrix.
ElGEmAUrnatrix)
Eigenvectors and Eigenvalues for a square matrix. Displays a
list of two arrays. The first contains the eigenvectors and the
second contains the eigenvalues.
EIGEHNN {matrix)
Identity matrix. Creates a square matrix of dimension
size
X
size whose diagonal elements are 1 and off-diagonal
elements are zero.
IDENMAT(iiZ£-)
Inverts a square matrix (real or complex).
INVERSE(wjafru-)
LQ Factorization. Factors an m x n matrix into three matrices:
{
[[ m
X
n Iowertrapezoidal]],[[ nx n orthogonal]],
[ [ m x m permutation]]).
LQ(matrix)
Least Squares. Displays the minimum norm least squares
matrix (or vector).
LSQ{matrixJ, matrix!)
LU Decomposition. Factors a square matrix into three
matrices:
{[\lowertriangidar]],[{uppertriangular]],[[permutatioii\]}
The uppertriangular has ones on its diagonal.
hl](matrix)
Make Matrix. Creates a matrix of dimension rows x columns,
using expression to calculate each element. If expression
contains the variables I and J, then the calculation for each
element substitutes the cument row number for I and the
current column number for J.
MAKEMATlexprexxirin, rows, columns)
Example
MAKEMAT(0,3,3) returns a 3x3 zero matrix,
[[0,0,0J,[0,0,0J,[0,0,0]].
Matrices
12-11