how can I plot this function?

조회 수: 1 (최근 30일)
Shouq A
Shouq A 2020년 4월 6일
댓글: darova 2020년 4월 7일
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)
  댓글 수: 1
darova
darova 2020년 4월 7일
Don't do someone's homework

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by