How to get the fundamental frequency magnitude ?

44 visualizaciones (últimos 30 días)
Andre
Andre el 5 de Mayo de 2014
Comentada: Star Strider el 7 de Mayo de 2014
Hi,
I have an array of a pseudo-sin signal.
I want to get the fundamental magnitude of it knowing the fundamental frequency.
My approach is (about 4-5 command lines)...,
a) fft the signal; b) search for the magnitude of the fundamental frequency; c) show the magnitude.
There is no command to get the fundamental magnitude easily ?
Thanks.
Andre

Respuesta aceptada

Star Strider
Star Strider el 5 de Mayo de 2014
If you have the Signal Processing Toolbox, use the findpeaks function.
  12 comentarios
Andre
Andre el 7 de Mayo de 2014
Thank you very much.
Andre
Star Strider
Star Strider el 7 de Mayo de 2014
Again, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by