Clear Filters
Clear Filters

Generating a Discrete Version of a Signal

1 view (last 30 days)
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
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!