Code:
clc
clear all
close all
warning off
x=cumsum(randn(1,10000));
plot(x);
title('Original Noisy Signal');
g=fspecial('gaussian',[1 100],10);
figure;
plot(g);
title('Gaussian Low pass Filter');
y=conv(x,g);
figure;
plot(x,'b');
hold on;
plot(y,'r','linewidth',2);
legend('Noisy Signal','Signal after noise removal');
You can refer this video to understand the effect of changing standard deviation of Gaussian Filter in removing noise--
[ Ссылка ]
Learn Digital Signal Processing using MATLAB:
[ Ссылка ]
Learn Complete Image Processing & Computer Vision using MATLAB:
[ Ссылка ]
Learn Complete Machine Learning & Data Science using MATLAB:
[ Ссылка ]
#MATLAB #DigitalSignalProcessing
Ещё видео!