How do I generate a nano second rectangular pulse function in Matlab (Using 'rectpuls()')?
이전 댓글 표시
When I am plotting this from t=0 to t=10^-6 the program is not running.
t = 0 : 1/1e6 ; 1;
w = 0: 1/1e9 : 1;
pulse = rectpuls(t,w);
x = 0:1/1e-3:1;
plot(x,pulse)
댓글 수: 1
Rik
2021년 1월 31일
I restore the edit from Google cache. @Meghanad Kayanattil please don't edit it away again, that is extremely rude.
답변 (1개)
Walter Roberson
2016년 1월 26일
0 개 추천
w, the width, is expected to be a scalar for rectpuls
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!