solve by substitution method
Afficher commentaires plus anciens
Réponses (3)
Matt Fig
le 16 Mar 2011
0 votes
Do you have a question? One related to MATLAB?
2 commentaires
Matt Tearle
le 16 Mar 2011
attack of the Matt Police!
Matt Fig
le 16 Mar 2011
HaHa, I didn't even see your first comment till now!
Walter Roberson
le 17 Mar 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
le 15 Sep 2018
Modifié(e) : Walter Roberson
le 15 Sep 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 commentaires
Walter Roberson
le 15 Sep 2018
You can use subs() and simplify() from the Symbolic toolbox.
Note that f(s) will not be a polynomial.
omer ozdemir
le 16 Sep 2018
thanks.
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!