FUNCTION REFERENCE
iwsst
Inverse wavelet synchrosqueezed transform.
Inverse wavelet synchrosqueezed transform.
Syntax
xrec = iwsst(sst)Syntax
xrec = iwsst(sst, f, freqrange)Syntax
xrec = iwsst(sst, iridge)Syntax
xrec = iwsst(..., wav)Syntax
xrec = iwsst(sst, iridge, 'NumFrequencyBins', nbins)Reconstructs the signal as 2*real(sum of the rows of sst)/C, C the admissibility constant of the wavelet wav ('amor' by default; it must match wsst), as a column vector. With f and freqrange = [fmin fmax] only the bins inside the range are summed. With ridge row indices iridge (one column per ridge, one row per sample) each ridge is reconstructed from nbins bins (default 16) on either side of it and xrec has one column per ridge.
Example
t = (0:1023)/1024; x = cos(2*pi*40*t) + 0.5*sin(2*pi*90*t); xrec = iwsst(wsst(x)); max(abs(xrec' - x)) % about 4e-7Example
t = (0:1023)/1024; x = cos(2*pi*40*t) + 0.5*sin(2*pi*90*t); [sst, f] = wsst(x, 1024); x90 = iwsst(sst, f, [60 130]);Differences from MATLAB: the analytic Morlet wavelet inverts to within 1e-6, and the bump wavelet to about 1e-3 at 32 voices per octave and about 2e-4 at 48 (its compact support is sampled by few scales).
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.