Alexandre: MATLAB did not used to have the inverse cwt function in their wavelet toolbox as of 2008. Hence, at that time, it was filling a gap--that matlab hadn't yet implemented. I have not used the newer version of matlab wavelet toolbox, but my guess is that it is the same concept, but less full-fledged.
Zahra: CWT does not share the same notion of details and approximations--that is DWT only.
If by "instantaneous frequency" you mean the "equivalent Fourier frequency" (i.e. sine wave in infinite time domain at oscillating at a single frequency), then here's the answer. The CWT "pseudofrequency" depends on the mother wavelet you use for the transform. Each mother wavelet has a corresponding "center frequency", and the relation is given as:
f = centerfrq(mother)/(a*delta).
a = scale
delta = sampling period.
I strongly encourage you to read up on wavelet theory, in order to become a competent user of this code.
Please note that the reconstructed signal is always centered. That is, the reconstruction process does not/cannot account for any 'dc offset' in the original signal.
Ajay and Ravi,
I have never experienced similar issues.
Please provide more specifics on your problem, and I'll try to respond. E.g., please copy/paste the commands you used. It would also be helpful if you posted an image of your original signal and the (erroneous) output.
hey friends Im working with myoelectric signal and i need to use the wavelet transform for processing the signal and i need some like a tutorial for get some knowledge
Alexandre: MATLAB did not used to have the inverse cwt function in their wavelet toolbox as of 2008. Hence, at that time, it was filling a gap--that matlab hadn't yet implemented. I have not used the newer version of matlab wavelet toolbox, but my guess is that it is the same concept, but less full-fledged.
Zahra: CWT does not share the same notion of details and approximations--that is DWT only.
When I decompose the signal with the CWT, how can i reconstruct the details coefficients and the approximations coefficients, like in the discrete wavelet when we use the matlab function (wrcoef)?
If by "instantaneous frequency" you mean the "equivalent Fourier frequency" (i.e. sine wave in infinite time domain at oscillating at a single frequency), then here's the answer. The CWT "pseudofrequency" depends on the mother wavelet you use for the transform. Each mother wavelet has a corresponding "center frequency", and the relation is given as:
f = centerfrq(mother)/(a*delta).
a = scale
delta = sampling period.
I strongly encourage you to read up on wavelet theory, in order to become a competent user of this code.