%%  Example program to use schmit.m
%   This example reproduces Fig 6.6 in Blakely,
%   except that in Blakely the axes are wrong,
%   theta should run from pi to 0, not pi to -pi.

%  Set up an array of theta values:
%    - schmit uses degrees for theta
%    - use NN equally-spaced values of theta
%

NN = 180;
theta = linspace(180,0,NN);

%  degree
n = 6;

figure
hold on

for m = 0:6,
   plot(theta, schmit(n,m,theta));
end
