How do I plot fourier transform signals in Matlab

3 visualizaciones (últimos 30 días)
Lucy  Mokaya
Lucy Mokaya el 15 de Abr. de 2021
Comentada: Lucy Mokaya el 16 de Abr. de 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 comentarios
Star Strider
Star Strider el 15 de Abr. de 2021
Replace:
e^(-|t| )
with:
exp(-|t| )
then put a multiplication operator vetween 20 and ‘t’:
cos(20*t)
and go from there.
Lucy  Mokaya
Lucy Mokaya el 15 de Abr. de 2021
that is the signal that I need to plot

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 15 de Abr. de 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 comentarios
Star Strider
Star Strider el 16 de Abr. de 2021
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
Lucy  Mokaya
Lucy Mokaya el 16 de Abr. de 2021
yes, it did help with the plotting the signal, still figuring out to plot the spectrum

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by