how to get cartesian equation from parametric equation

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 comentarios

What about this?
t = 0:0.1:3;
x = 10*t.^2;
y = ...
plot(x,y)
thanks , btw i wanted the cartesian equation not the plot
darova
darova el 27 de Mayo de 2020
It's impossible

Iniciar sesión para comentar.

 Respuesta aceptada

Tommy
Tommy el 27 de Mayo de 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

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Productos

Versión

R2016a

Preguntada:

el 26 de Mayo de 2020

Respondida:

el 27 de Mayo de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by