채택된 답변

the cyclist
the cyclist 2018년 10월 31일

0 개 추천

Here is one way:

U = @(t) -(t<pi/2).*t + (t>=pi/2) * 0; % Don't really need that second term, since it is always zero
figure
tt = 0:0.01:pi;
plot(tt,U(tt),'.')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2018년 10월 31일

댓글:

2018년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by