<< plotc Visualization of EMD

EMD Toolbox >> EMD Toolbox > Visualization of EMD > toimage

toimage

transforms a spectrum made of 1D functions in an 2D image

Calling Sequence

[im,tt,ff] = toimage(A,f)
[im,tt,ff] = toimage(A,f,t)
[im,tt,ff] = toimage(A,f,splx)
[im,tt,ff] = toimage(A,f,splx,sply)
[im,tt,ff] = toimage(A,f,t,splx)
[im,tt,ff] = toimage(A,f,t,splx,sply)

Parameters

inputs :

- A :

amplitudes of modes (1 mode per row of A)

- f :

instantaneous frequencies

- t :

time instants

- splx :

number of columns of the output im (time resolution).If different from length(t), works only for uniform sampling.

- sply :

number of rows of the output im (frequency resolution).

outputs :

- im :

2D image of the spectrum

- tt :

time instants in the image

- ff :

centers of the frequency bins

Description

toimage transforms a spectrum made of 1D functions (e.g., output of "hhspectrum") in an 2D image

Examples

s = rand(1,512,'normal');
imf = emd(s);
[A,f,tt] = hhspectrum(imf(1:$-1,:));
[im,tt]=toimage(A,f);
disp_hhs(im);

See also

Authors


Report an issue
<< plotc Visualization of EMD