Name

cemd_disp — displays complex envelope curves and the corresponding tube envelope

Calling Sequence

   cemd_disp(X,ENV)
   cemd_disp([],X,ENV)
   cemd_disp(T,X,ENV)
   cemd_disp(X,ENV,MODE)
   cemd_disp(T,X,ENV,MODE)
   cemd_disp([],X,ENV,MODE)
   

Parameters

inputs:

- T:

time instants

- X:

analyzed signal (complex)

- ENV:

matrix returned by cenvelope.m Each line is an envelope curve

- MODE:

'render' -> 3D rendering of the tube enclosing the signal 'wire' -> wireframe display (much faster if there is no hardware acceleration)

Description

TODO: the program uses zbuffer rendering by default. You may switch to openGL rendering by commenting/uncommenting a line at the beginning of the function. openGL rendering is faster but zbuffer is generally nicer.

Examples

s = rand(1,512,'normal')+%i*rand(1,512,'normal');
[env] = cenvelope(s);
cemd_disp(s,env);
   

See also

cenvelope

Authors

H. Nahrstaedt - Aug 2010
G. Rilling, last modification: 3.2007
gabriel.rilling@ens-lyon.fr