<< anastep Choice of Particular Signals chirp >>

stftb >> stftb > Choice of Particular Signals > atoms

atoms

Linear combination of elementary Gaussian atoms

Calling Sequence

[SIG,LOCATOMS] = atoms(N, COORD, DISPLAY)

Parameters

N :

number of points of the signal

COORD :

a real matrix with four columns: the time-frequency centers, the ith row has the form [ti,fi,Ti,Ai].

(ti,fi) are the time-frequency coordinates of atom i.

Ti is its time duration and Ai its amplitude.

Frequencies f1..fM should be normalized (between 0 and 0.5).

If nargin==1, the location of the atoms will be defined by clicking with the mouse, with the help of a menu. The default value for Ti is N/4.

SIG:

a column complex vector of length N: the output signal.

LOCATOMS :

a real matrix with four columns: matrix of time-frequency coordinates and durations of the atoms (see COORD).

Description

atoms generates a signal consisting in a linear combination of elementary gaussian wave packets. The locations of the time-frequency centers of the different atoms are either fixed by the input parameter COORD or successively defined by clicking with the mouse (if NARGIN==1).

Examples

clf
coord=[32, 0.3,  32, 1   ;
       56, 0.15, 48, 1.22;
       102,0.41, 20, 0.7 ];
sig = atoms(128,coord,1);

Authors


Report an issue
<< anastep Choice of Particular Signals chirp >>