how to get cartesian equation from parametric equation

13 vues (au cours des 30 derniers jours)
david carlson
david carlson le 26 Mai 2020
Réponse apportée : Tommy le 27 Mai 2020
i have x= 10*t^2 and y=2*t^2 (parametric equation)
how can i make matlab program that get the cartesian equation ( x=5*y ) ?
  3 commentaires
david carlson
david carlson le 27 Mai 2020
thanks , btw i wanted the cartesian equation not the plot
darova
darova le 27 Mai 2020
It's impossible

Connectez-vous pour commenter.

Réponse acceptée

Tommy
Tommy le 27 Mai 2020
Maybe something like this?
syms t x y
eqns = [x == 10*t^2; y == 2*t^2];
out = subs(eqns(2), t, rhs(isolate(eqns(1), t)));
which results in:
>> out
out =
y == x/5

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by