Averaging and plotting cwt matrix
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a 45 * 513 *52 matrix that represents 52 cwt coefficient matrix with a morl non-complex wavelet. I really need to collapse these into an average or rms in order to get an 'average' to plot a scalogram. I am having so much trouble. I seem to be able to get the RMS, but then the plot makes no sense, so I am thinking I have not got the RMS right. Can anyone help? thanks! Here is the code for RMS I've used. None of the plots have been of any use!
c=cwt(mean(Data,2),Scales,WaveletName,'yaxix');
c=zeros(45,513,52);
for i=1:52;
for j=1:513
c(:,j,i)=cwt(Data(j,i),Scales,WaveletName);
end
end
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Multirate Signal Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!