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

New to MATLAB?

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

Asked by I Made

I Made (view profile)

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?

0 Comments

I Made

I Made (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson

Walter Roberson (view profile)

on 22 Feb 2013
Accepted answer
X = wavread('YourFile.wav');

Or possibly

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

1 Comment

I Made

I Made (view profile)

on 22 Feb 2013

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

Walter Roberson

Walter Roberson (view profile)

Contact us