| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Wavelet Toolbox |
| Contents | Index |
Scalogram for continuous wavelet transform
SC = wscalogram(TYPEPLOT,COEFS) computes the scalogram 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.
SC = wscalogram(TYPEPLOT,COEFS,'PropName1',PropVal1,...)
allows you to modify some properties. The valid choices for PropName are:
| 'scales' |
Scales used for the CWT. |
| 'ydata' |
Signal used for the CWT. |
| 'xdata' |
x values corresponding to the signal values. |
| 'power' |
Positive real value. Default value is zero. |
If power > 0, coefficients are first normalized
and then the scalogram is computed as explained above.
% 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);
![]()
| Provide feedback about this page |
![]() | write | wtbo | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |