In: Computer Science
Write a MATLAB program to generate a Gaussian window and apply it to a signal as follows:
`Hey,
Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.
clc
clear all
close all
format long
t=0:0.001:1;
y=sin(2*pi*90*t)+sin(2*pi*100*t);
w=gausswin(1/0.001+1,4);
plot(t,w)
hold on
plot(t,y)
hold off
legend('gaussian window','added sinusoid');
Kindly revert for any queries
Thanks.