The difference between the old version and new version of CWT (Continuous Wavelet Transform)
Show older comments
Hi Everyone!!!
My name is Supatat Hovanotayan. I am a master student studying in Mechanical Engineering, The University of Tokyo.
The reason why I am writing this question is to ask and consult you about the old version and new version of cwt code.
Newer version:
Older version:
However, for my research, I have used old and new version of cwt code both to detect abrupt change in roll angular velocity of rail vehicle.
** I am using MATLAB2019a**
This is roll angular velocity signal as shown below

The figure shown below is the result when I used the old version of cwt

And the result when I used the new version of cwt

According to the results, they are totally diferrent, you can see that the result of the old version of cwt shows the maximum wavelet coefficientn the low frequency range[around 1Hz].
But the result of the new version of cwt showa the maximum wavelet coefficient at the around 10Hz.
It makes me confused with it. First of all, I though the result should be like the old version, but once the used the new version of cwt I got the diffrent result.
Therefore, this is my quesion
- What is the diferrece between the old and new version? [I read realease notebook already but do not understand clearly]
- Do you think which result is correct?
- Why did I get different results?
Could anyone please help me to find out this problem it is very impoetant to my master thesis
Thank you very much for your help in advance
I am looking forward to hearing from you
Best regards,
Supatat Hovanotayan
Accepted Answer
More Answers (2)
garima
on 31 May 2020
0 votes
Hi Supatat,
since I have just started learning of wavelet transfrom .
could you please explain, how to decide scale for cwt (if we are using older cwt)?
what is the significance of scale.
garima
on 31 May 2020
0 votes
Hello wayne,
I have tried the above example with the old CWT example given by you.
is there any way to scale (correct) the amplitude?
Categories
Find more on Continuous Wavelet Transforms 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!