% CWT example using electrical % consumption time series leleccum in Matlab toolbox. % days) load leleccum; N = length(leleccum); scale = 2.^((1:40)/4); W = cwt(leleccum,scale,'haar'); image(1:N,(1:40)/4,W) title('CWT of leleccum - vertical axis is log2(scale)') xlabel('t(minutes)')