|
Purpose
|
Linear combination of elementary Gaussian atoms.
|
Synopsis
[sig,locatoms] = atoms(N)
[sig,locatoms] = atoms(N,coord)
|
Description
atoms generates a signal consisting in a linear combination
of elementary gaussian atoms. 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), with the help of a menu.
| Name |
Description |
Default value |
| N |
number of points of the signal |
|
| coord |
matrix of time-frequency centers, of the form
[t1,f1,T1,A1;...;tM,fM,TM,AM]. (ti,fi) are the
time-frequency coordinates of atom i, Ti is its time
duration and Ai its amplitude. Frequencies f1..fM should
be between 0 and 0.5.
If nargin==1, the location of the atoms will be defined
by clicking with the mouse |
Ti=N/4, Ai=1. |
| sig |
output signal |
|
| locatoms |
matrix of time-frequency coordinates and durations of the
atoms |
|
When the selection of the atoms is finished (after clicking on the 'Stop'
buttom, or after having specified the coordinates at the command line with
the input parameter coord), the signal in time together with a
schematic representation of the atoms in the time-frequency plane are
displayed on the current figure.
|
Examples
sig=atoms(128);
sig=atoms(128,[32,0.3,32,1;56,0.15,48,1.22;102,0.41,20,0.7]);
See Also
Eric Chassande-Mottin
2005-10-26
|