How do I plot fourier transform signals in Matlab

3 次查看(过去 30 天)
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 个评论
Star Strider
Star Strider 2021-4-15
Replace:
e^(-|t| )
with:
exp(-|t| )
then put a multiplication operator vetween 20 and ‘t’:
cos(20*t)
and go from there.

请先登录,再进行评论。

采纳的回答

Star Strider
Star Strider 2021-4-15
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by