| Wavelet Toolbox | |
| Provide feedback about this page |
Scalogram for continuous wavelet transform
Syntax
Description
computes the scalogram SC = wscalogram(TYPEPLOT,COEFS)
SC which represents the percentage of energy for each coefficient. COEFS is the matrix of the continuous wavelet coefficients (see cwt).
The scalogram is obtained by computing:
When TYPEPLOT is equal to 'image', a scaled image of scalogram is displayed. When TYPEPLOT is equal to 'contour', a contour representation of scalogram is displayed. Otherwise, the scalogram is returned without plot representation.
allows you to modify some properties. The valid choices for SC = wscalogram(TYPEPLOT,COEFS,'PropName1',PropVal1,...)
PropName are:
|
Scales used for the CWT. |
|
Signal used for the CWT. |
|
x values corresponding to the signal values. |
|
Positive real value. Default value is zero. |
If power > 0, coefficients are first normalized
and then the scalogram is computed as explained above.
Examples
% Compute signal s t = linspace(-1,1,512); s = 1-abs(t); % Plot signal s figure; plot(s), axis tight% Compute coefficients COEFS using cwt COEFS = cwt(s,1:32,'cgau4'); % Compute and plot the scalogram (image option) figure; SC = wscalogram(
'image',COEFS);% Compute and plot the scalogram (contour option) figure; SC = wscalogram(
'contour',COEFS);![]()
See Also
| Provide feedback about this page |
![]() | write | wtbo | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |