linear system of equations
2 次查看(过去 30 天)
显示 更早的评论
I am trying to use 'solve' to solve this system of equations:
solve('5*x+6*y=5','10*x+12*y=10')
and I get the a return saying:
Warning: The solutions are parametrized by the symbols:
z = C_
and when I try to look at the solutions it introduces the variable z :
soln =
[ 1 - (6*z)/5, z]
How can I fix this?
0 个评论
采纳的回答
更多回答(1 个)
Gaurisha
2022-8-18
parametrized by the symbols means the equation has a common parameter making them dependent on each other. So you can't solve them as simultaneous equations.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!