spectrum analysis of wind
Show older comments
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
Accepted Answer
More Answers (2)
Wayne King
on 18 Nov 2013
Edited: Wayne King
on 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 Comments
reddy
on 18 Nov 2013
Wayne King
on 18 Nov 2013
Edited: Wayne King
on 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
on 21 Nov 2013
Bjorn Gustavsson
on 18 Nov 2013
0 votes
Have a look at the circular statistics toolbox available at the FEX: http://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox-directional-statistics
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!