HP15C Owner's Handbook - Pages 163-168

Description

Complex Matrix Transformations

Press GSB 2

Matrix [A] elements are entered
C form is converted to P form
f MATRIX 2 creates Z bar from Z P form

The matrix is inverted and the result placed in B

f MATRIX 3 creates inverted matrix in Z P form from Z bar form in B

The Matrices [A] and [B] are now multiplied and the elements read out.

Note: Because the Simulator is more accurate than the DM15C and the HP-15c the elements which are nearly "zero" are closer to zero than the example in the manual.

Matrices [A], [B] and [C] can be read out by pressing A, B, or C

John Patterson
jepattersonatactrix.co.nz
http://www.jepspectro.com

Program Resources

Labels

Name Description
 A Read the matrix elements in [A]
 B Read the matrix elements in [B]
 C Read the matrix elements in [C]
 2 Enter data
.1 Matrix [A] readout loop
.2 Matrix [B] readout loop
.3 Matrix [C] readout loop

Flags

Number Description
8 CF8 clear complex number flag

Program

Line Display Key Sequence Line Display Key Sequence Line Display Key Sequence
000 026 42 31 f PSE 052 42 31 f PSE
001 42;21; 2 f LBL 2 027 5 5 053 42;26;13 f RESULT C
002 43; 5; 8 g CF 8 028 u 44 11 USER STO A 054 20 ×
003 42;16; 0 f MATRIX 0 029 42 31 f PSE 055 32 13 GSB C
004 2 2 030 3 3 056 43 32 g RTN
005 36 ENTER 031 u 44 11 USER STO A 057 42;21;11 f LBL A
006 4 4 032 42 31 f PSE 058 42;16; 1 f MATRIX 1
007 42;23;11 f DIM A 033 8 8 059 42;21; .1 f LBL . 1
008 42;16; 1 f MATRIX 1 034 u 44 11 USER STO A 060 42 31 f PSE
009 45;16;11 RCL MATRIX A 035 31 R/S 061 u 45 11 USER RCL A
010 42 31 f PSE 036 42 31 f PSE 062 22 .1 GTO . 1
011 4 4 037 42 31 f PSE 063 43 32 g RTN
012 u 44 11 USER STO A 038 45;16;11 RCL MATRIX A 064 42;21;12 f LBL B
013 42 31 f PSE 039 42 31 f PSE 065 42;16; 1 f MATRIX 1
014 3 3 040 42 40 f P y,x 066 42;21; .2 f LBL . 2
015 u 44 11 USER STO A 041 45;16;11 RCL MATRIX A 067 42 31 f PSE
016 42 31 f PSE 042 42 31 f PSE 068 u 45 12 USER RCL B
017 7 7 043 42;16; 2 f MATRIX 2 069 22 .2 GTO . 2
018 u 44 11 USER STO A 044 42 31 f PSE 070 43 32 g RTN
019 42 31 f PSE 045 42;26;12 f RESULT B 071 42;21;13 f LBL C
020 2 2 046 15 1/x 072 42;16; 1 f MATRIX 1
021 16 CHS 047 42;16; 3 f MATRIX 3 073 42;21; .3 f LBL . 3
022 u 44 11 USER STO A 048 42 31 f PSE 074 42 31 f PSE
023 42 31 f PSE 049 45;16;11 RCL MATRIX A 075 u 45 13 USER RCL C
024 1 1 050 42 31 f PSE 076 22 .3 GTO . 3
025 u 44 11 USER STO A 051 45;16;12 RCL MATRIX B 077 43 32 g RTN