how cwt works?
显示 更早的评论
Greetings, I am trying to understand how cwt works. In line 235, coefs(ind,:) = -sqrt(a)*wkeep1(diff(wconv1(val_SIG,f)),lenSIG). I wonder why '-sqrt(a)' here? Does it should be 1/sqrt(a)? Much appreciates!
回答(1 个)
Shreshth
2024-3-27
0 个投票
hello,
The use of -sqrt(a) in the code you've mentioned for the Continuous Wavelet Transform (CWT) is unusual, as the standard scaling factor in CWT is (\frac{1}{\sqrt{|a|}}) to ensure normalization across different scales. The negative sign and the specific form -sqrt(a) do not align with the standard CWT formulation. This discrepancy could be due to a specific modification for a particular application, or it might be an error. To resolve this, you should check any available documentation or comments related to the code, or experiment by replacing -sqrt(a) with (\frac{1}{\sqrt{|a|}}) and observing the results for alignment with theoretical expectations.
类别
在 帮助中心 和 File Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!