Linear Equations infinite solutions parametric form
9 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to solve a system of the form Ax = b which has infinte many solutions:
for eg: 2x+y = 3; 4x+2y = 6
I want Matlab to return the solution in paramtric form: sol = (3-y/2, y)^T, something like this.
I there a method to achieve this easily without writing a complicated script?
Thanks in advance.
2 个评论
Bjorn Gustavsson
2021-9-17
How big and how underdetermined are(is?) your system of equations? The answer depends crucially on this. For the general case you'll have to accept a small bit of (great and beautiful) linear algebra, but that might be beyond what you need...
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!