We have moved to @ Placement Papers Hub !! Visit our new website here for more..

Matlab Obtaining Modified Matrix - Inverse, Transpose


(B). Obtaining Modified Matrix - Inverse, Transpose,square and cube of a matrix
  
>> A=[8 5 9; 8 6 5; 7 2 4]

A =

     8     5     9
     8     6     5
     7     2     4

*Inverse Modified Matrix

>> inv(A)

ans =

   -0.1308    0.0187    0.2710
   -0.0280    0.2897   -0.2991
    0.2430   -0.1776   -0.0748

>> inv(inv(A))

ans =

    8.0000    5.0000    9.0000
    8.0000    6.0000    5.0000
    7.0000    2.0000    4.0000


*Transpose Modified Matrix

>> H=G'

H =

     1     2     3
     1     2     3
     1     2     3
*square and cube of a matrix

>> H^2

ans =

     6    12    18
     6    12    18
     6    12    18

>> H^3

ans =

    36    72   108
    36    72   108
    36    72   108