Mathc matrices/a27


Sommaire


Les commandes octave utilisées dans ce cours :
 ------------------------------------ 
Copy/Past into the octave window. 

  A=[
+2,+5,+1;
+5,-6,-8;
+1,-8,+5]

mul_100_A = 100.*A


 ------------------------------------ 
Copy/Past into the octave window. 

  A=[
+2,+5,+1;
+5,-6,-8;
+1,-8,+5]

  B=[
+2,+5,+1;
+5,-6,-8;
+1,-8,+5]

AB = A*B


 ------------------------------------ 
Copy/Past into the octave window. 

 A=[
-9,-1,-1,+8,-9;
-7,-7,-1,+4,+8;
+6,+6,+4,-7,-5;
-7,-3,+6,-5,-3;
-9,-9,+8,-7,-7]

 det(A)
 
 
 ------------------------------------ 
 Copy/Past into the octave windows 
 B=[
+2.00,-7.00,-5.00,-1.00;
+6.00,+4.00,-5.00,+6.00;
-3.00,-9.00,+4.00,+4.00;
-9.00,+4.00,+6.00,+4.00]

format short e

 inv(B)
 

 ------------------------------------ 
  Copy/Past into the octave window.

 Ab=[
-325,-601,-801,-221,+360,+524;
-855,+832,+226,-815,-233,-143;
+724,-933,-49,-231,-965,-787;
+290,+238,-905,+772,-327,+446;
+636,-519,+662,-7,-375,-813]

format short e

 rref(Ab,.00000000001)
 
 
 ------------------------------------  
  Copy/Past into the octave windows 

 a=[
+2,-9,-1;
+8,-1,-1;
-7,-7,+8;
-1,-7,-9;
+4,+2,+2]

 [Q, R] = qr (a,0) 
 
 
 ------------------------------------  
  Copy/Past into the octave windows 

 a=[
+22,+54,+14;
+54,-67,-83;
+14,-83,+52]

 EigenValues  = eigs (a,10) 
 
 
 ------------------------------------ 
  Copy/Past into the octave windows 

 a=[
-3,+2,+8;
+2,+6,-3;
+8,-1,+2;
-1,-5,+2;
-7,+2,-1;
-9,+6,-1]

 SvdValue = svd (a,10)
 
 
 ------------------------------------ 
  Copy/Past into the octave windows 

 a=[
-367,+448;
+448,-847]

 [V, E] = eigs (a,10) 

 Press return to continue. 
 

 ------------------------------------  
  Copy/Past into the octave windows 


 B=[
+4.00,-3.00,-9.00,+2.00;
-5.00,-7.00,-9.00,-3.00;
+8.00,+4.00,-7.00,-5.00;
+4.00,-5.00,+2.00,-7.00]

 [U, S, V] =svd (B,10)
 
 
 ------------------------------------  
  Copy/Past into the octave windows 

 B=[
-3.00,+6.00,-9.00;
-3.00,-1.00,-1.00;
-9.00,-3.00,-3.00;
+6.00,-5.00,+6.00;
-3.00,-1.00,+6.00;
+8.00,-7.00,-9.00;
+2.00,-5.00,+2.00;
-1.00,+6.00,+6.00;
+8.00,-9.00,+4.00]

format short e

pinv(b)