![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/539746/image.png)
How can be a buffered signal reconstructed?
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a signal which i buffered with 2/3 overlap. Now i want to rebuild the buffered signal, but i don't know how to do it. To buffer it i used
length(signal)=112935;
wsize=256;
overlap(170);
buffer(signal, wsize, overlap);
댓글 수: 0
답변 (1개)
Petr Janousek
2021년 3월 5일
편집: Petr Janousek
2021년 3월 5일
This is now a 6y/o question, but I've been searching for an answer and didn't find one. So I have written the code myself and now I am posting it hoping someone-someday might find it useful.
General inverse buffer function:
function res = ibuffer(buffered, overlap)
A = buffered(overlap+1:end,1);
for i = 2:(size(buffered,2))
B = buffered(overlap+1:end,i);
A = cat(1,A,B);
end
res = A;
end
Tried on an actual signal to check if it works:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/539746/image.png)
And it seems like it does... :)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Transforms에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!