MATLAB: Dividing speech signal into short-time segments

Hi all. I created a speech signal in Matlab. I need to divide speech signal into short-time segments with lengths 150 samples. Later I will process each segment to determine if it is voiced or unvoiced, and pitch period for voiced speechs. Here is the info:

Best Answer

If your sound signal is a vector, try to use reshape. For example from the info I understand that your sound signal would be a vector with 72000 elements which you want to divide in groups of 150.
SeperatedSoundSignal = reshape(soundSignal,150,72000/150);
This will convert your vector into 72000/150 columns which have each 150 elements/samples.
Kind regards, Baltam
Related Question