I want to know x,y coordinate

1 次查看(过去 30 天)
Jong Hyun Lee
Jong Hyun Lee 2022-3-31
回答: Torsten 2022-3-31
t=0:0.01:10
x=t.^3+t
y=t.^2+2.*t.^3
plot(x,y)
How should I write the code to obtain x,y coordinate for specific value of t?
ex)
When I define t=5
the result display x=@ and y=@

回答(2 个)

KSSV
KSSV 2022-3-31
Already you have the code.
t=0:0.01:10 ;
x=t.^3+t ;
y=t.^2+2.*t.^3 ;
plot(x,y)

Torsten
Torsten 2022-3-31
f = @(t) [t.^3 + t , t.^2 + 2*t.^3];
f(0.5)

类别

Help CenterFile Exchange 中查找有关 Cartesian Coordinate System Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by