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?

Answers (1)

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 Comments

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

Sign in to comment.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Asked:

on 13 Oct 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!