Solving Linear System of Equations.
Afficher commentaires plus anciens
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 commentaires
Salaheddin Hosseinzadeh
le 8 Avr 2014
Walter Roberson
le 8 Avr 2014
I am not clear on what more you are looking for? The null space is the solution.
Salaheddin Hosseinzadeh
le 9 Avr 2014
Réponse acceptée
Plus de réponses (1)
Mischa Kim
le 6 Avr 2014
Modifié(e) : Mischa Kim
le 6 Avr 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
Catégories
En savoir plus sur Linear Least Squares dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
