Old version and new version of CWT(Continuous Wavelet transform) to detect abrupt change in signal
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello Everyone!!!
My name is Supatat Hovanotayan, I am a master student studying in mechanical engineering, The University of Tokyo.
I would like to consult you about the new and old version of continuous wavelet transform for detecting abrupt change in signal.
My supervisor he asked me to find out that we should use the old or the new version to perform CWT for our research. Now, we are doing research on detection abnormal running in railway vehicle system.
Our goal is to use CWT to detect abrupt change in signal and consider the cwt result to classify that the railway vehicle is running in normal condition or not.
These are the codes I used
Old version:
Fs = 200;
scale = 1:512;
[coef,f] = cwt(signal,scale,'morl',1/Fs);
New version
Fs = 200;
[coef,f] = cwt(signal,'amor',Fs);
In the past, I used the old version to perform CWT to detect the abrupt change in signal. And we found that we could distinguish between normal running and abnormal running easily as shown in the picture below.
[Abnormal running condition (Using old cwt)]
[Normal running condition (Using old cwt)]
The reason why we could distinguish because the wavelet coefficient are very high in the low frequency range for abnormal running signal. But for the normal running, the wavelet coefficient is very low in the all frequency range.
But after we used the new version, we found that the wavelet coefficient in low frequency range are not high compared to the old version’s result. It is more difficult than the old version to classify whether it is normal running or abnormal running as shown in the picture below.
[Abnormal running condition (Using new cwt)]
[Normal running condition (Using new cwt)]
My questions are
1. “Can I still use the old version of CWT because it look like more suitable to my research’s goal than the new version?”
2. “The old version is no longer recommended as shown on the website, it means the result from the old version of cwt are all incorrect?”
Moreover, if you have any idea on how to distinguish between normal running and abnormal running in my data, please let me know
Thank you very much for your kindness
I am looking forward to hearing from you
Best regards,
Supatat Hovanotayan
댓글 수: 0
채택된 답변
Wayne King
2019년 9월 6일
Supatat, You are free to use the old CWT API if you wish. However, we recommend the newer API for reasons I've tried to explain in previous posts. However, from your screen shots above it appears to me that the normal and abnormal signals look very different in the new CWT and actually comparable to what the old CWT api gives. Can you attach these two signals and the code you are using to differentiate normal vs abnormal. Just by eye, it appears to me that the new CWT API shows a much different view of these signals.
Wayne
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Continuous Wavelet Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!