how can i segment a signal into frames using buffer function ?
조회 수: 7 (최근 30일)
이전 댓글 표시
x=buffer(Y,L,R);
댓글 수: 0
채택된 답변
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
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 Center 및 File Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!