FUNCTION REFERENCE

icwt

Inverse continuous 1-D wavelet transform.

Inverse continuous 1-D wavelet transform.

Syntax

xrec = icwt(wt)

Syntax

xrec = icwt(wt, wname)

Syntax

xrec = icwt(wt, f, freqrange)

Syntax

xrec = icwt(..., Name, Value)

Approximate inverse of cwt by the single-integral formula: xrec = 2*real(sum of the rows of wt)*log(2)/(NV*C), C the admissibility constant of the wavelet, returned as a row vector. The wavelet and 'VoicesPerOctave' must match the cwt call. With f and freqrange = [fmin fmax] only the rows with frequencies inside the range are used. A 3-D wt (from a complex signal) gives a complex xrec. Content outside the analysed frequency band, and the signal mean, are not recovered. The bump wavelet at the default 10 voices per octave reconstructs an in-band signal to about 4e-2.

Options: 'SignalMean' (added to xrec, default 0), 'VoicesPerOctave' (default 10), 'TimeBandwidth', 'WaveletParameters', 'AnalysisFilterBank' (a cwtfilterbank object).

Example

t = (0:1023)/1024; x = cos(2*pi*40*t).*exp(-((t - 0.5)/0.15).^2); xrec = icwt(cwt(x)); max(abs(xrec - x))   % about 2e-7

Example

x = cos(2*pi*0.05*(0:255)); [wt, f] = cwt(x, 'amor'); xrec = icwt(wt, 'amor', f, [0.03 0.08], 'SignalMean', mean(x));

Differences from MATLAB: 'ScalingCoefficients' and duration periods are not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.