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

1 vue (au cours des 30 derniers jours)
fatma medhat
fatma medhat le 9 Avr 2017
Commenté : Star Strider le 9 Avr 2017
x=buffer(Y,L,R);

Réponse acceptée

Star Strider
Star Strider le 9 Avr 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 commentaire
Star Strider
Star Strider le 9 Avr 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 ...’ ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by