spectrum analysis of wind
이전 댓글 표시
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
채택된 답변
추가 답변 (2개)
Wayne King
2013년 11월 18일
편집: Wayne King
2013년 11월 18일
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
reddy
2013년 11월 18일
Wayne King
2013년 11월 18일
편집: Wayne King
2013년 11월 18일
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
2013년 11월 21일
Bjorn Gustavsson
2013년 11월 18일
0 개 추천
Have a look at the circular statistics toolbox available at the FEX: http://www.mathworks.com/matlabcentral/fileexchange/10676-circular-statistics-toolbox-directional-statistics
카테고리
도움말 센터 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
