Graphics Programs Reference
In-Depth Information
Figure 9.42. Kalman filter gains versus time.
9.11. MATLAB Program and Function Listings
This section contains listings of all MATLAB programs and functions used
in this chapter. Users are encouraged to rerun this code with different inputs in
order to enhance their understanding of the theory.
Listing 9.1. MATLAB Function Ðmono_pulse.mÑ
function mono_pulse(phi0)
eps = 0.0000001;
angle = -pi:0.01:pi;
y1 = sinc(angle + phi0);
y2 = sinc((angle - phi0));
ysum = y1 + y2;
ydif = -y1 + y2;
figure (1)
plot (angle,y1,'k',angle,y2,'k');
grid;
xlabel ('Angle - radians')
ylabel ('Squinted patterns')
 
Search WWH ::




Custom Search