Generating an isolated rectangular pulse
15 views (last 30 days)
Show older comments
How can I generate a pulse of amplitude 1 but only between certain points, like 25 to 75?
T=.2
t=25:75
x=rectpuls(t,T)
plot(t,x)
axis([0 100 0 1.2])
0 Comments
Answers (1)
See Also
Categories
Find more on Switches and Breakers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!