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
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 的更多信息

标签

提问:

2011-3-10

回答:

2024-3-27

Community Treasure Hunt

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

Start Hunting!

Translated by