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

조회 수: 7 (최근 30일)
fatma medhat
fatma medhat 2017년 4월 9일
댓글: Star Strider 2017년 4월 9일
x=buffer(Y,L,R);

채택된 답변

Star Strider
Star Strider 2017년 4월 9일
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
Star Strider
Star Strider 2017년 4월 9일
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 ...’ ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by