Results 1 to 3 of 3

Math Help - DSP in Matlab

  1. #1
    Newbie
    Joined
    Nov 2009
    Posts
    2

    DSP in Matlab

    Hello

    I am new to this forum, and I am a beginner to Matlab.

    I have a test wav file that Matlab can read, and I would like to have a windowing function to capture a very short time of the test.wav .

    I have already set up the windowing function, which is hann(128), but I have no idea how to use it to caputer a time slide in my test.wav, let say I would like to capture at time 4s in my test.wav.

    So my question is how to move this hann(128) to center at 4s of my test.wav, and also how to multiply them? as I got error saying something like wrong dimension.

    Thank you very much in advance
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by luckyvictor View Post
    Hello

    I am new to this forum, and I am a beginner to Matlab.

    I have a test wav file that Matlab can read, and I would like to have a windowing function to capture a very short time of the test.wav .

    I have already set up the windowing function, which is hann(128), but I have no idea how to use it to caputer a time slide in my test.wav, let say I would like to capture at time 4s in my test.wav.

    So my question is how to move this hann(128) to center at 4s of my test.wav, and also how to multiply them? as I got error saying something like wrong dimension.

    Thank you very much in advance
    Pick out 128 points from the array containing the data from the wav file from whatever time you want. Then multiply by the window.

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Nov 2009
    Posts
    2
    so meaning I still have to crop my test.wav to the size of the windows before I multiplying them?

    I thought about it but it just doesn't look right to me, as I think the use of the windows is to capture a short frame from my test.wav, and also have the ability to look at it in frequency domain
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Matlab Help
    Posted in the Math Software Forum
    Replies: 1
    Last Post: April 17th 2010, 09:13 AM
  2. Matlab
    Posted in the Math Software Forum
    Replies: 0
    Last Post: March 3rd 2010, 02:18 PM
  3. i need help in matlab
    Posted in the Math Software Forum
    Replies: 0
    Last Post: March 2nd 2010, 08:49 PM
  4. Matlab help
    Posted in the Math Software Forum
    Replies: 1
    Last Post: April 21st 2009, 05:42 AM
  5. MATLAB
    Posted in the Math Software Forum
    Replies: 4
    Last Post: September 25th 2008, 02:47 PM

Search Tags


/mathhelpforum @mathhelpforum