how can i segment a signal into frames using buffer function ?

1 Ansicht (letzte 30 Tage)
x=buffer(Y,L,R);

Akzeptierte Antwort

Star Strider
Star Strider am 9 Apr. 2017
You seem to have solved your own problem. Here, you are partitioning ‘Y’ into ‘L’-length segments with an overlap (if ‘R>0’ and ‘R<N’, where ‘N’ is the length of the signal) or underlap (of ‘R<0’) elements.
  1 Kommentar
Star Strider
Star Strider am 9 Apr. 2017
First, I would eliminate this assignment:
FS=44100;
since ‘FS’ is returned by wavread.
What is the value for ‘FS’ that wavread returns?
How long is ‘Y’
What do you mean by ‘... it doesnt give me the frames ...’ ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Signal Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by