Plot a Signal Function
10 views (last 30 days)
Show older comments
I am trying to plot a signal in Matlab for
-1.5≤dt≤1.5:
x(t) = sin(pi*t)rect(t)
where rect(t) is the rect function.
and I am trying to obtain and plot the magnitude of 𝑋(𝑓) the Fourier transform of 𝑥(𝑡) of that.
2 Comments
Walter Roberson
on 7 Nov 2022
dt can be negative? Your difference between time steps can be negative?? (You have a bit of a meaning question about what exactly should happen for the case where dt = 0, where all times are exactly the same.)
Accepted Answer
More 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!