how can I plot this function?

1 次查看(过去 30 天)
how can i plot this function in matlab x(t)= J0(πt)[u(t) − u(t − 1)] and h(t) = 1.5 cos(πt)[u(t) − u(t − 1.5)]?
  1 个评论
darova
darova 2020-4-6
Make an effort. It's your second time you want someone to do your homework

请先登录,再进行评论。

采纳的回答

shubhi dua
shubhi dua 2020-4-6
t=0:0.001:20
% as you decrease the step size the graph becomes more and more acurate.%
x= J0(pi*t)(heaviside(t)-heaviside(t-1))
plot(t,x)
y=1.5*cos(pi*t).*(heaviside(t)-heaviside(t-1.5))
plot(t,y)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by