Dears, I'm working with signal processing and wavelet analysis but I have got problems with energy conservation using the function cwt in Matlab 2015. See one example in small code below. The outputs are differents, but Parseval's Theorem implies that is wrong!

CWT in Matlab don't conservate the energy in Parseval sense?

clear all;

t = linspace(0, 6*pi, 4096);

f = sin(t);

W = cwt(f, 1:1:500, 'mexh');

escalogram = abs(W).^2;

energy_domaintime = sum(abs(f).^2)

energy_domainfrequency = sum(sum(escalogram))

Thank's. Luciano

Similar questions and discussions