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?

 채택된 답변

bym
bym 2014년 7월 2일

1 개 추천

Your equations are not independent. The second is 2 times the first

추가 답변 (1개)

Gaurisha
Gaurisha 2022년 8월 18일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2014년 7월 2일

답변:

2022년 8월 18일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by