Solving Linear System of Equations.

Hi ppl
I was wondering how to solve this particular one without any manipulations or simplifications! Assume the coffs are given to a computer and it has to solve it!
Please find the system of the equations, my attempt to solve it and the answer in the image ;)
a=[7 -10 -1; -14 15 0; 6 15/14 3]
b=[0;0;0]
Thanks

3 Comments

I'm still waiting for more answers plz!
I am not clear on what more you are looking for? The null space is the solution.
@ Walter
Is null space the only solution?

Sign in to comment.

 Accepted Answer

With many thanks to Mischa I find a solution for this homogeneous system of equations using
null(a,'r')
gives a perfect zero

More Answers (1)

Mischa Kim
Mischa Kim on 6 Apr 2014
Edited: Mischa Kim on 6 Apr 2014
Salaheddin, the rank of a is 2, one solution (by inspection) is, e.g.
15/14*a(:,1) + a(:,2) - 2.5*a(:,3)
You could also use the null space of a to find a solution
x = null(a);
a*x
ans =
1.0e-14 *
-0.099920072216264
0.177635683940025
0.044408920985006

1 Comment

@ Dear Mischa :)
Thanks for your help, I think you were almost there, I just used your hint and made it even better. I don't know what's the difference between these two commands ATM, hopefully someone going to explain to me here or I'll find it someday somehow! lol ;)
Thanks a lot.

Sign in to comment.

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!