wavelet coefficients centroid of audio signal

i applied wavedec for an audio signal.,after that i have to calculate energy and centroid of the wavelet coefficients(approximation and detail)for all frames of the audio signal.,i dnt know how to do.,can anyone help me?

Réponses (1)

Wayne King
Wayne King le 13 Oct 2012
You already have this thread open:
You say in that post that you need to find one "centroid" for all the detail coefficients including the approximation coefficients. I'm not sure why you would ever want to do but:
load noisdopp;
[C,L] = wavedec(noisdopp,5,'sym4');
mean(C)
The above gives you the mean over all the coefficients, both approximation and details.

2 commentaires

maxina dialin
maxina dialin le 13 Oct 2012
Thank u.,bt in my paper they suggested some other formula to find centroid not like mean.,so only i asked
Wayne King
Wayne King le 13 Oct 2012
Then you should show us where that paper is, or include the equation in your post.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio I/O and Waveform Generation 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!

Translated by