analysis using wavelet coherence
9 views (last 30 days)
Show older comments
i want to perfom rossby wave detection using the wavelet coherence, but when i running the code there is always an error that says "error in wt.m time must be constant". when i change the year in the first clumn to numbers, the code runs. but when I include the first column as the years, the error massage appears. My data consists of 20 years,is there something wrong with my data?
5 Comments
nick
on 3 Oct 2024
Hi Sitti,
In the 'wtcdemo' file, it seems that 'boxpdf' is a user-defined function. 

I am unable to reproduce the error, "error in wt.m time must be constant", due to the absence of code related to the custom functions. Could you kindly share the 'formatts' function file? You can use the following command in the MATLAB command window to find where the file is located:
which formatts %where formatts is the name of .m file
Answers (0)
See Also
Categories
Find more on AI for Signals and Images 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!