spectrum analysis of wind
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (2)
Wayne King
am 18 Nov. 2013
Bearbeitet: Wayne King
am 18 Nov. 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 Kommentare
reddy
am 18 Nov. 2013
Wayne King
am 18 Nov. 2013
Bearbeitet: Wayne King
am 18 Nov. 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
am 21 Nov. 2013
Bjorn Gustavsson
am 18 Nov. 2013
0 Stimmen
Have a look at the circular statistics toolbox available at the FEX: http://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox-directional-statistics
Kategorien
Mehr zu Spectral Measurements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
