hamming window matlab code
Mostrar comentarios más antiguos
hi evrybody i need matlab code for hamming window
1 comentario
qamar alshraideh
el 19 de Dic. de 2016
Editada: Walter Roberson
el 7 de Jun. de 2020
Built in function ::
M=30; % length
wc1=.05*pi;
n=0:1:(M-1);
h1 = (wc1/pi)*sinc(wc1/pi*n);
ham=h1.*hamming(M)'; %here we dont need to shift
x=n/pi;
x=x/pi;
plot(x,abs(fft(ham)));
title('Magnitude Response');
xlabel('frequency in pi units')
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Hamming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!