Plots cwt coeffs
cwtplot(coeff,scale) cwtplot(coeff,scale,cbar,f)
cwt coefficients
vector with scales from cwt
defines plotting of a color bar (%t or %f)
if used, the coeff are plotted in the figure f
Plots the absolute coefficients of a continuous Wavelet-Transform (cwt)
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); | ![]() | ![]() |