Application of Sinc function in data or signal processing | Frequency-domain sinc | MATLAB
%Code:
clc
clear
all
close
all
t=0:0.11:20;
x=sin(t);
plot(x,'g','linewidth',2);
hold
on;
n=randn(1,length(t));
x=x+n;
plot(x,'b');
hold
on;
g=0:0.1:2;
y=0.1*ones(1,length(g));
z=conv(x,y);
plot(z,'r','linewidth',2);
legend('Original Siganl', 'Noise Corruped signal', 'Filtered
Signal');
Please follow us:
https://www.facebook.com/matlabcodes
Join us on Telegram:
https://t.me/matlabirawen
Join us on Facebook Group:
https://www.facebook.com/groups/matlabcodes
No comments