Hello!
I am cross correlating 2 signals using the CWT. I would like to know the maximum correlation coefficient of the desired signal (sig1 and sig 2) with the mother wavelet in order to identify similarity between the signals and the mother wavelet. i.e. how well does Signal 1 cross correlate with the Haar mother wavelet? The aim is to basically find out if there is a high level of similarity between the Haar mother wavelet and signal 1.
My code so far is below and based on the information provided in Matlabs help documentation. Although it computes the wavelet transform and cross correlates signal 1 and 2 successfully, I can't seem to get it to cross correlate signal 1 with the mother wavelet and generate the normalised cross correlation coefficients.
wname = 'Haar'; scales = 1:512; ntw = 21; wcoher(Sig_1, Sig_2,scales,wname,'ntw',ntw,'plot','cwt'); % Wavelet cross spectrum examines the two signals on the time scale plain wcoher(Sig_1,Sig_2,scales,wname,'ntw',ntw,'plot','wcs');
% Now I would like to cross correlate the mother wavelet with the signal to identify how similar the signal is to the mother wavelet.
Any ideas?!
Thank you!
Best Answer