how to solve an equation of the form ax=b
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
how to solve an equation of the form ax=b where a has dimension 1024*1023 and x has dimension 1023*1?i have used pinv command.but when i multiplied the result with a,i didnt get the same b matrix
0 Commenti
Risposte (2)
Torsten
il 8 Feb 2016
If you have 1024 equations for 1023 variables, the system can in general not be solved exactly.
What you get by typing
x=a\b
is an optimal solution in the least-squares sense, i.e. a solution that minimizes the error
||a*x-b||_2-Norm
Best wishes
Torsten.
0 Commenti
Vedere anche
Categorie
Scopri di più su Linear Algebra in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!