spectrum analysis of wind
Mostrar comentarios más antiguos
Hello every one.
I am having Wind hourly data. Now I want to know spectral analysis of wind for cycles/day..
could any one help me out.. It would be better appreciation.
Thanks in advance.. phanindra
Respuesta aceptada
Más respuestas (2)
Wayne King
el 18 de Nov. de 2013
Editada: Wayne King
el 18 de Nov. de 2013
You don't really have a lot of data here. If you just choose from 0:00 you only have 42 samples.
Even taking all the data, I don't see a strong periodicity here. You have a non-zero mean (DC component). If you remove that, there is some oscillation around 0.015 cycles/hour or 0.36 cycles/day, but your frequency resolution is just 1/55, so I wouldn't feel too confident about that (given that you had a non-zero mean). Bottom line, you need more data.
[data,txt] = xlsread('Book1.xlsx');
[Pxx,F] = periodogram(data-mean(data),[],256,1,'centered');
plot(F,Pxx)
xlabel('Cycles/hour')
4 comentarios
reddy
el 18 de Nov. de 2013
Wayne King
el 18 de Nov. de 2013
Editada: Wayne King
el 18 de Nov. de 2013
which version of MATLAB are you using, you must have an older version.
plus you have 87 NaNs in your data, what do you propose to do about those?
reddy
el 21 de Nov. de 2013
Bjorn Gustavsson
el 18 de Nov. de 2013
0 votos
Have a look at the circular statistics toolbox available at the FEX: http://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox-directional-statistics
Categorías
Más información sobre Spectral Measurements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
