How to slove AX=B, an over determined system represented by matrices. A is 500 x 3 matrix and B is 500 x 1 matrix and need to find 'X' a 3x1 matrix.
2 views (last 30 days)
Show older comments
Lakshmi Chodavarapu
on 2 Mar 2018
Commented: Lakshmi Chodavarapu
on 3 Mar 2018
I dont have optimization toolbox
0 Comments
Accepted Answer
Birdman
on 2 Mar 2018
By directly using linsolve.
A numeric example:
%random datas
A=randi([1 3],500,3);
B=randi([1 3],500,1);
%solution
X=linsolve(A,B)
3 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!