Generating a Discrete Version of a Signal

3 views (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)

Categories

Find more on Signal Processing Toolbox 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!