beautypg.com

Matrix commands – HP 38g Graphing Calculator User Manual

Page 170

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

background image

The Matrix commands use the matrix variables M0-M9 as

arguments.

Matrix Commands

ADDCOL Add Column. Inserts

values

into a column before

columnjiumber

in the specified matrix You enter the

values

as

a vector. The values must be separated by commas and the

number of values must be the same as the number of rows in

the matrix name.

ADDCOL

n a m e ; [v a lu e ^ , . . ■ , v a lu e j ;

c o lu m n n u m b e r

ADDROW

DELCOL

DELROW

EDITMAT

Add Row. Inserts

values

into a row before

rowjiumber

in the

specified matrix You enter the

values

as a vector. The values

must be separated by commas and the number of values must

be the same as the number of columns in the matrix name.

ADDROW

n a m e ; [v a lu e ^ , ■ ■ ■ , v a lu e ^ ] ;r o w _ n u m b e r

Delete Column. Deletes the specified column from the specified

matrix

DELCOL

n a m e ; c o lu m n _ n u m b e r

Delete Row. Deletes the specified row from the specified matrix.

DELROW

n a m e ;r o w _ n u m b e r

Starts the Matrix Editor and displays the specified matrix.

Returns to the program when user presses

{{OK}}.

EDITMAT

n a m e

Example

EDITMAT Ml

Starts the Matrix Editor on matrix Ml.

8-18 Programming