MATLAB Answers

I Made

In case processing .wav file what would the input to DWT fucntion ?

Asked by I Made
on 22 Feb 2013

So here is the formula of DWT as you can see

   [cA,cD] = dwt(X,'wname')

cA = approximation coefficients vector

cD = detail coefficients vector

X = vector x

But in case of processing .wav file what would X be?



No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 22 Feb 2013
 Accepted answer

X = wavread('YourFile.wav');

Or possibly

X = wavread('YourFile.wav') ';

  1 Comment

Wow yeah that's it, sorry i'm really new to matlab. After all my college not allowed using matlab for this paper of mine. I just wanted to rewrite the matlab code in java. I need much more understanding about the function. Thanks for the answer, and do you know what is it exactly the output of the wavread? is it frequency over time of the wav file(the theory say that)? or?

If yes, an example of the output it'll be great

Anyway thanks for your answer :D

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!