SNR goes down as noise filtering is increased.
Hello friends. I have a question regarding filtering noise from noisy signals. I filtered a signal (data attached to this post) using Wiener2 with a window size of 3 and 11. I then subtracted the filtered signal from the orginal signal to get noise. Surprisingly, the SNR for the more filtered signal (corresponding to window size of 11) is lesser than the least filtered. Could this be due to the signal getting attenuated along with the noise ? Any direction to this issue will be much appreciated. The code is also attached. Thank you.
%% SNR comparision befrore and after filtering noise
%noisydata = readmatrix("Data_response_thickJn_1W_IPA_set1_5.csv");
load ("noisyData.mat")
noisydata = data;
time = noisydata(:,1);
temp = noisydata(:,2);
% filtering using Wiener filter
filteredTemp1 = wiener2(temp,[3,1]); %low filter window
noise1 = temp – filteredTemp1;
SNR1 = snr(temp,noise1)
filteredTemp2 = wiener2(temp,[11,1]); %high filter window
noise2 = temp – filteredTemp2;
SNR2 = snr(temp,noise2)Hello friends. I have a question regarding filtering noise from noisy signals. I filtered a signal (data attached to this post) using Wiener2 with a window size of 3 and 11. I then subtracted the filtered signal from the orginal signal to get noise. Surprisingly, the SNR for the more filtered signal (corresponding to window size of 11) is lesser than the least filtered. Could this be due to the signal getting attenuated along with the noise ? Any direction to this issue will be much appreciated. The code is also attached. Thank you.
%% SNR comparision befrore and after filtering noise
%noisydata = readmatrix("Data_response_thickJn_1W_IPA_set1_5.csv");
load ("noisyData.mat")
noisydata = data;
time = noisydata(:,1);
temp = noisydata(:,2);
% filtering using Wiener filter
filteredTemp1 = wiener2(temp,[3,1]); %low filter window
noise1 = temp – filteredTemp1;
SNR1 = snr(temp,noise1)
filteredTemp2 = wiener2(temp,[11,1]); %high filter window
noise2 = temp – filteredTemp2;
SNR2 = snr(temp,noise2) Hello friends. I have a question regarding filtering noise from noisy signals. I filtered a signal (data attached to this post) using Wiener2 with a window size of 3 and 11. I then subtracted the filtered signal from the orginal signal to get noise. Surprisingly, the SNR for the more filtered signal (corresponding to window size of 11) is lesser than the least filtered. Could this be due to the signal getting attenuated along with the noise ? Any direction to this issue will be much appreciated. The code is also attached. Thank you.
%% SNR comparision befrore and after filtering noise
%noisydata = readmatrix("Data_response_thickJn_1W_IPA_set1_5.csv");
load ("noisyData.mat")
noisydata = data;
time = noisydata(:,1);
temp = noisydata(:,2);
% filtering using Wiener filter
filteredTemp1 = wiener2(temp,[3,1]); %low filter window
noise1 = temp – filteredTemp1;
SNR1 = snr(temp,noise1)
filteredTemp2 = wiener2(temp,[11,1]); %high filter window
noise2 = temp – filteredTemp2;
SNR2 = snr(temp,noise2) digital signal processing, noise, filtering MATLAB Answers — New Questions









