Generate signal using rectpulse
8 views (last 30 days)
Show older comments
Hello everybody,
I want to generate a pulse signal using a function included in the signal toolbox 'rectpulse'
Ts = 1/20
t = -10:Ts:(20-Ts);
A = 8
sign1 = rectpulse(t,A)
plot(t,sign1)
By doing that, I can not plot it because t and sign1 have different size.
Can someone help me in order that they have the same size?
Thanks
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Waveform Generation 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!