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 Kommentare

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
It's impossible

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Tommy
Tommy am 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

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2016a

Gefragt:

am 26 Mai 2020

Beantwortet:

am 27 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by