How can i find the centroid of the wavelet coefficients from each frame of the audio signal?
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 8 de Oct. de 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
el 8 de Oct. de 2012
Walter Roberson
el 8 de Oct. de 2012
?? What image is it that you are decomposing ??
maxina dialin
el 9 de Oct. de 2012
Respuestas (1)
Wayne King
el 8 de Oct. de 2012
Editada: Wayne King
el 8 de Oct. de 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 comentario
maxina dialin
el 9 de Oct. de 2012
Categorías
Más información sobre Audio and Video Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!