Sie sind auf Seite 1von 1

MATLAB Command Window Page 1

>> A=rand(4)-randn(4)

A =

0.9389 -0.0391 0.4686 0.6633


-0.5839 1.3050 -0.0698 1.2727
-1.2820 -0.4387 -0.5693 -0.0881
-0.5038 -1.0834 1.2740 1.2890

>> B=inv(A)

B =

0.9630 -0.1824 0.1288 -0.3067


-0.8999 0.4345 -0.8475 -0.0239
-1.6722 0.0359 -1.5242 0.7209
1.2729 0.2585 0.8445 -0.0767

>> A*B

ans =

1.0000 0.0000 0 -0.0000


0 1.0000 0.0000 -0.0000
-0.0000 -0.0000 1.0000 0.0000
0.0000 -0.0000 0.0000 1.0000

>> B*A

ans =

1.0000 0.0000 0.0000 0.0000


-0.0000 1.0000 -0.0000 0.0000
0.0000 -0.0000 1.0000 0.0000
-0.0000 -0.0000 0 1.0000

>> A'

ans =

0.9389 -0.5839 -1.2820 -0.5038


-0.0391 1.3050 -0.4387 -1.0834
0.4686 -0.0698 -0.5693 1.2740
0.6633 1.2727 -0.0881 1.2890

>>

Das könnte Ihnen auch gefallen