beautypg.com

Extracting and replacing elements of matrices, Characterizing matrices, Extracting and replacing elements – HP 48g Graphing Calculator User Manual

Page 171: Matrices

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

Extracting and Replacing Elements of Matrices

To

extract the

array

element

at a

specified position:

1. Enter the array onto the stack.

2. Enter one of the following:

B A list containing the row and column number of the element you

wish to extract: C row column '}.

B The position number of the element you wish to extract. (For

matrices, this is interpreted as row-major order.)

3. Press [ M T H ) M H T R

array element.

iKE

GET to extract the specified

14

To replace an array

element

at a specified position;

1. Enter the array onto the stack.

2. Enter one of the following:

B A list containing the row and column number of the element you

wish to replace: L row column J.

■ The position number of the element you wish to replace. (For

matrices, this is interpreted as row-major order.)

3. Enter the new replacement element.

4. Press f M T H ) M

h

T R

m a k e

fiMXT) PUT to replace the element

at the specified location with the new element.

Characterizing Matrices

Matrix calculations are often sensitive to special characteristics of the

matrices used. The HP 48 has a number of commands that return

characteristics of matrices. Note that some commands are only defined

for square matrices, some for any rectcingular matrix.

Matrices and Linear Algebra 14-7

This manual is related to the following products: