Info
This question is closed. Reopen it to edit or answer.
Solve System of Equations
2 views (last 30 days)
Show older comments
I want to solve a system of equations of the form :
V=V*P -> (V(I-P)=0)
For example:
V=[x1,x2,x3]; %are the unknows P=[1,2,3;1,2,5;1,3,5]; %It's a matrix with constants.
1 Comment
Kartik Katti
on 11 Jul 2013
for i=1:20 for j=1:20 for k=1:20 P=[1,2,3;1,2,5;1,3,5]; v=[i-1 j-1 k-1]; if (v-(v*P))==0; u=[i j k]; break else end end end end
This program is based on regression concept. Hope this works for you.
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!