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 Comments

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

Sign in to comment.

 Accepted Answer

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

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Release

R2016a

Asked:

on 26 May 2020

Answered:

on 27 May 2020

Community Treasure Hunt

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

Start Hunting!