Generating a Discrete Version of a Signal
1 view (last 30 days)
Show older comments
How would I generate the discrete version of x(t) = A cos(omega t ) (u(t) - u(t-tau)) ?
I am unsure of how the u(t) - u(t-tau) part.
1 Comment
gonzalo Mier
on 6 May 2019
The u(t) - u(t-tau) can be done as
heaviside(t) - heaviside(u-tau)
https://www.mathworks.com/help/symbolic/heaviside.html
Answers (0)
See Also
Categories
Find more on Digital Filter Analysis 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!