% wavefft2lband % usage: wavefftlband(m,n,K); % show linear bands of wave forms % % m,n: number of rows and columns of the image matrix % K: sum of the vertical and horizontal frequencies function wave2dlband(m,n,K); %define sample points tm = (0:1:(m-1))/m; tn = (0:1:(n-1))/n; % set up graphics figure(1) clf; set(gcf,'DefaultLineEraseMode','none'); set(gcf,'NextPlot','add'); %set up initial frequencies if K <= m k = K; l = 0; else k = m; l = K-m; end u=0; while (k >= 0) & (l