MATLAB Answers

linear system of equations

1 view (last 30 days)
richard
richard on 2 Jul 2014
Answered: bym on 2 Jul 2014
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 Comments

Sign in to comment.

Accepted Answer

bym
bym on 2 Jul 2014
Your equations are not independent. The second is 2 times the first

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.