Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

clc

clear all
close all
N=6
Wr=rectwin(N)
Whm=hamming(N)
Whn=hanning(N)
Wk=kaiser(N)
Wbl=blackman(N)
Wba=bartlett(N)
subplot(6,1,1)
stem(Wr)
title('Rectangular Window')
subplot(6,1,2)
stem(Whm)
title('Hamming Window')
subplot(6,1,3)
stem(Whn)
title('Hanning Window')
subplot(6,1,4)
stem(Wbl)
title('Blackman Window')
subplot(6,1,5)
stem(Wba)
title('Bartlett Window')
subplot(6,1,6)
stem(Wk)
title('Kaiser Window')

You might also like