Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Just wondering how to I plot these functions into Matlab?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Just need help plotting these two functions into Matlab
0 Kommentare
Antworten (1)
Birdman
am 2 Nov. 2018
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))
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!