I have data every 10 minutes. The software I'm using (to generate the wavelet) does not accept lack of data in some time (the software does not run with NaN). Would you have any suggestions without having to share the data file?
Note: Time step must be constant. This is required by the software. Software: Cross wavelet and wavelet coherence
Example:
34.3167 10.2950
34.3208 NaN
34.3250 8.3275
34.3292 7.9050
34.3333 6.1225
34.3375 NaN
34.3417 2.7800
34.3458 1.0475
34.3500 -0.2650
34.3542 -1.4075
34.3583 -2.5825
34.3625 -3.5925
34.3667 NaN
34.3708 NaN
34.3750 NaN
34.3792 NaN
34.3833 NaN
34.3875 NaN
34.3917 -6.7925
34.3958 -6.8100
34.4000 -6.3875
34.4042 NaN
34.4083 -5.7900
34.4125 -5.5300
34.4167 -5.4625
34.4208 -5.6075
34.4250 -5.7350
34.4292 -5.8350
34.4333 NaN
34.4375 -5.8050
34.4417 -5.7425
34.4458 -5.2750
34.4500 -3.9725
34.4542 NaN
Thanks in advance

댓글 수: 2

Star Strider
Star Strider 2015년 9월 29일
What MATLAB functions are you using?
student
student 2015년 9월 30일
편집: student 2015년 9월 30일
I am using a cross wavelet and wavelet coherence toolbox for MATLAB. http://www.glaciology.net/wavelet-coherence

댓글을 달려면 로그인하십시오.

답변 (1개)

James Tursa
James Tursa 2015년 9월 29일

0 개 추천

To replace NaN values with 0's in a variable X:
X(isnan(X)) = 0;

카테고리

도움말 센터File Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기

태그

질문:

2015년 9월 29일

편집:

2015년 9월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by