solve by substitution method

5 visualizaciones (últimos 30 días)
angie
angie el 16 de Mzo. de 2011
Editada: Walter Roberson el 16 de Sept. de 2018
4x+5y=-15
x=3-8y
  1 comentario
Matt Tearle
Matt Tearle el 16 de Mzo. de 2011
Do you have a MATLAB question?

Iniciar sesión para comentar.

Respuestas (3)

Matt Fig
Matt Fig el 16 de Mzo. de 2011
Do you have a question? One related to MATLAB?
  2 comentarios
Matt Tearle
Matt Tearle el 16 de Mzo. de 2011
attack of the Matt Police!
Matt Fig
Matt Fig el 16 de Mzo. de 2011
HaHa, I didn't even see your first comment till now!

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 17 de Mzo. de 2011
syms x y
yexpr = solve(4*x+5*y+15*x,y);
xval = solve(subs(3-8*y+15*x,yexpr),x);
yval = solve(subs(4*x + 5*y + 15*x, x, xval),y);
(There is at least one shorter method.)

omer ozdemir
omer ozdemir el 15 de Sept. de 2018
Editada: Walter Roberson el 15 de Sept. de 2018
how can be solved this problem?
suppose that a polynominal can be expressed by
f(x)= x^5+3*x^4+4*x^3+2*x^2+3*x+6
If one wants to substitute x by s-1/s+1, the function f(x) can be changed into a function of s.
thanks.
  2 comentarios
Walter Roberson
Walter Roberson el 15 de Sept. de 2018
You can use subs() and simplify() from the Symbolic toolbox.
Note that f(s) will not be a polynomial.
omer ozdemir
omer ozdemir el 16 de Sept. de 2018
thanks.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by