gusucode.com > 利用遗传算法进行图像分割matlab源码程序 > segment_ga/window_function.m
N = 65; w = window(@blackmanharris,N); w1 = window(@hamming,N); w2 = window(@gausswin,N,2.5); w3 = window(@hann,N); w4 = window(@bartlett,N); w5 = window(@blackman,N); w6 = window(@chebwin,N,3); w7 = window(@kaiser,N,1); w8 = window(@triang,N); w9 = window(@boxcar,N); %figure; plot(1:N,[w,w1,w2,w3,w4,w5,w6,w7,w8,w9]); axis([1 N 0 1]); legend('Blackman-Harris','Hamming','Gaussian','hann','bartlett','blackman','chebwin','kaiser','triang','boxcar');