How to apply window function in MATLAB

Hi
I wanna to apply a window function to my FT result. I have two questions, the first one is how to add the window function code, like w = window(blackman,L)? But it doesn't work. Another one is how to determine which window to choose? Here is my plots.

3 comentarios

dpb
dpb el 24 de Nov. de 2021
"Doesn't work" is completely non-descriptive.
What, specifically, makes you think the window function didn't "work"?
What did you do, specifically? Show code, not just a random phrase.
As for which to use, that's all dependent upon the point of the analysis and the type of input signal -- there is no firm, fixed answer.
Here's a link to a very introductory paper with links internally to more depth.
Yian Chen
Yian Chen el 28 de Nov. de 2021
Thanks,
My data is about temperature that shown on the plot. I wanna see the cycle of the temperature, but the temperature is osillated and the FT of it is like the plot above. How can I choose the window?
dpb
dpb el 28 de Nov. de 2021
That doesn't indicate there is any real repetitive patter in the signal -- how did you get the above? As asked before, Show us the actual code used, we can't really tell anything at all from just the plot.
Most temperatures are slow-responding to external stimuli so you may not have collected nearly enough data to uncover any pattern.

Iniciar sesión para comentar.

Respuestas (0)

Productos

Etiquetas

Preguntada:

el 24 de Nov. de 2021

Comentada:

dpb
el 28 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by