How can i find the centroid of the wavelet coefficients from each frame of the audio signal?
Afficher commentaires plus anciens
Hi,i have to find the centroid of the wavelet coefficients for each frame of the audio signal.,i've applied wavedec to decompose the audio into 5 levels CA5,CD1,CD2,CD3,CD4,CD5 from that i have to find the energy and centroid of the wavelet coefficients.Is there anybody know about this?
4 commentaires
Walter Roberson
le 8 Oct 2012
I am confused: you talk about each frame of an audio signal, but you say you've applied wavedec to an image, which would be visual not audio.
maxina dialin
le 8 Oct 2012
Walter Roberson
le 8 Oct 2012
?? What image is it that you are decomposing ??
maxina dialin
le 9 Oct 2012
Réponses (1)
Wayne King
le 8 Oct 2012
Modifié(e) : Wayne King
le 8 Oct 2012
You can use wenergy() to find the energy in the output of wavedec()
load noisdopp;
[C,L] = wavedec(noisdopp,5,'sym4');
[Ea,Ed] = wenergy(C,L);
What do you mean by centroid? The mean? You can do that with detcoef() although the mean of the detail coefficients will be close to zero at each level I would suspect.
details = detcoef(C,L,'cells');
centroids = cellfun(@mean,details);
1 commentaire
maxina dialin
le 9 Oct 2012
Catégories
En savoir plus sur Audio and Video Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!