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

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

댓글을 달려면 로그인하십시오.

 채택된 답변

Tommy
Tommy 2020년 5월 27일
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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

제품

릴리스

R2016a

질문:

2020년 5월 26일

답변:

2020년 5월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by