How do I plot fourier transform signals in Matlab
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lucy Mokaya
am 15 Apr. 2021
Kommentiert: Lucy Mokaya
am 16 Apr. 2021
To find Fourier transform (spectrum) of the following signals using MATLAB command “fourier”. To make a plot of signal and spectrum (modulus)
f(t)=e^(-|t| )*cos(20t)
2 Kommentare
Star Strider
am 15 Apr. 2021
Replace:
e^(-|t| )
with:
exp(-|t| )
then put a multiplication operator vetween 20 and ‘t’:
cos(20*t)
and go from there.
Akzeptierte Antwort
Star Strider
am 15 Apr. 2021
f = @ (t) exp(-abs(t)).*cos(20*t);
figure
fplot(f)
for the Symbolic Math Toolbox, this becomes:
syms t
f(t) = exp(-abs(t))*cos(20*t);
I leave the rest to you.
3 Kommentare
Star Strider
am 16 Apr. 2021
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!