If signal(1D) is buffer and buffer matrix(2D) is process after this how to combine back the processed buffer matrix to generate the same length (1D) signal as input?
2 次查看(过去 30 天)
显示 更早的评论
If I have the signal
A=[1:100]; % 1D signal
B=buffer(A,20,10); % framesize=20 and frameshift=10. % B is 2D Matrix.
Now need to find FFT of each column and want to combine back the result to get the output 1D of the same length as input.
i tried with following code
B_FFT=[];
[m,n]=size(B);
for i=1:length(A)
B_FFT=fft(B(:,i),Fs);
F1=abs(F(1:Fs/2));
h=fir1(25,17,'low');
y=filter(h,1,A);
end
Now need to combine output y to form the same length as input.
0 个评论
回答(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!