<< cwt continuous_wavelet_analysis denoising >>

swt >> continuous_wavelet_analysis > cwtplot

cwtplot

Plots cwt coeffs

Calling Sequence

cwtplot(coeff,scale)
cwtplot(coeff,scale,cbar,f)

Parameters

coeff:

cwt coefficients

scale:

vector with scales from cwt

cbar:

defines plotting of a color bar (%t or %f)

f:

if used, the coeff are plotted in the figure f

Description

Plots the absolute coefficients of a continuous Wavelet-Transform (cwt)

Examples

wname = 'morl';
A = 0; B = 64; P = 500;
// Compute the sampling period and the sampled function,
// and the true frequencies.
t = linspace(A,B,P);
delta = (B-A)/(P-1);
tab_OMEGA = [5,2,1];
tab_FREQ = tab_OMEGA/(2*%pi);
tab_COEFS = [5,3,2];
x = zeros(1,P);
for k = 1:3;
x = x+tab_COEFS(k)*sin(tab_OMEGA(k)*t);
end
// Set scales
scales = [1:1:60];
coef=cwt(x,scales,wname);
cwtplot(coef,scales);

See also

Authors


Report an issue
<< cwt continuous_wavelet_analysis denoising >>