% Matlab program to design cosine modulated filter bank using % Kaiser window approach. For details see % Y-P. Lin and P. P. Vaidyanathan, % ``A Kaiser window approach for the design of prototype filters of % cosine modulated filter banks'', % { IEEE Signal Proc. Letters,} vol. 5, 1998. clear; M=32; As=100; deltaf=.44; N=floor((As-7.95)/14.36*M/deltaf); fprintf(1,strcat('The order of the prototype: ',num2str(N))) df=(As-7.95)/14.36/N; if As>=50, b=0.1102*(As-8.7); else b=0.5842*(As-21)^0.4+0.07886*(As-21); end x1=0.55/M;x2=0.6/M; dx=(x2-x1)/200; x=x1; phi_min=1000;j=1; while x