Plot the trajectory of a motion of x(t) and y(t)

97 次查看(过去 30 天)
I need to plot the trajectory of a motion
I have these two equations
x(t) = sin(t)
y(t)= cos(t)
How can I plot the motion of this object in Oxy
Also I need to keep (t) because I need to diferentiate those functions later

回答(2 个)

KSSV
KSSV 2021-12-3
t = linspace(0,2*pi) ;
x = sin(t) ;
y = cos(t) ;
plot(x,y)

Walter Roberson
Walter Roberson 2021-12-3
t = linspace(0,10);
X = @(t) acos(t/10) + tan(t/10);
Y = @(t) (t/10).^2 + (t/10) - 1;
plot(X(t), Y(t))

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by