Plot a Signal Function
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 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.)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Digital Filter Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!