how can i segment a signal into frames using buffer function ?
1 次查看(过去 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!