Wednesday, June 13, 2012

FreeMAT

In this lab we solve a matrix using FreeMAT.
I will use MATLAB to do the same thing.

The equation:
The solution:

>> x=[20 30;5 -10]
x =
    20    30
     5   -10
>> y=[15; 7]
y =
    15
     7
>> x^-1*y
ans =
    1.0286
   -0.1857
>>

i2= 1.0286 A
i3=-.1857 A

No comments:

Post a Comment