beautypg.com

To extract the vector of diagonals from a matrix, Inserting rows and columns, To insert one or more new rows into a matrix – HP 48g Graphing Calculator User Manual

Page 169: To insert one or more new columns into an array

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

background image

contains a real number representing the number of columns in the
original matrix.

To extract the vector of

diagonals

from a matrix:

1. Enter the matrix onto the stack.

2. Press

fMTH

) flFiTF;

fNXT)

-»D I RG to extract the cliagonal

elements as a vector.

Inserting Rows and Columns

To insert one or more new rows into a matrix:

1. Enter the target array-..... the one you wish to modify—onto the

stack.

2. Enter the vector, matrix, or element, (when the target array is a

vector) you want to insert. An inserted array must have the same
number of column.s as the target matrix.

3. Enter the row number where you want the first (or only) inserted

row to be. The elements currently located in that row, and in all

rows below, w'ill be shifted down to accommodate the insertion.

Row numbers start at 1, not 0.

to insert the new row(s).

4. Press f M T H )

K 0 W R 0

To

insert

one or more new

columns

into an array:

1. Enter the target array—the one you wish to modify—onto the

stack.

2. Enter the vector, matrix, or element ( w h e n the target array is a

vector) that you wish to insert. An inserted array must have the

same number of rows as the target array.

3. Enter the column number where you want the first (or only)

inserted column to be. The elements currently located in that
column, and in all columns to the right, will be shifted right to

accommodate the insertion. Column numbers start at 1, not 0.

4. Press

(

mth

1

i'ifl’TR:

COL C 0 L + to insert the new columns.

14

Matrices and Linear Algebra 14-5

This manual is related to the following products: