Solving Linear System of Equations.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Salaheddin Hosseinzadeh
il 6 Apr 2014
Risposto: Salaheddin Hosseinzadeh
il 22 Apr 2014
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 Commenti
Walter Roberson
il 8 Apr 2014
I am not clear on what more you are looking for? The null space is the solution.
Risposta accettata
Più risposte (1)
Mischa Kim
il 6 Apr 2014
Modificato: Mischa Kim
il 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
Vedere anche
Categorie
Scopri di più su Linear Least Squares in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
