using SVD to solve systems of linear equation: have to implement direct parameter calibration method
20 views (last 30 days)
Show older comments
can you please tell me how to implement direct parameter calibration method in matlab to show how SVD is used to solve systems of linear equation? i know about SVD but dont know any matlab syntax for direct parameter calibration method.
0 Comments
Accepted Answer
Matt J
on 10 Mar 2013
Edited: Matt J
on 10 Mar 2013
Given an n-by-n linear system
A*x=b
and the SVD of A,
[U,S,V]=svd(A,0);
Then one could solve the system as follows
x= V*((U'*b)./diag(S))
However, the easier way would be
x=A\b
so I don't understand why you stipulate that the SVD has to be used. If this isn't what you want, please elaborate and maybe also explain the niche terminology "direct parameter calibration method".
More Answers (0)
See Also
Categories
Find more on Linear Algebra 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!