Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Just wondering how to I plot these functions into Matlab?

조회 수: 3 (최근 30일)
John Marl
John Marl 2018년 11월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
Just need help plotting these two functions into Matlab

답변 (1개)

Birdman
Birdman 2018년 11월 2일
Try this:
syms x(t) h(t)
x(t)=piecewise(t>=-1 & t<=1,1,t<-1 | t>1,0)
h(t)=rectangularPulse((t-1)/4)
t=-5:0.01:5;
figure(1);plot(t,x(t))
figure(2);plot(t,h(t))

이 질문은 마감되었습니다.

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by