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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Signal Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!