Graphics Programs Reference
In-Depth Information
Figure 2.21. SNR versus detection range for both target types. The 4-pulse
NCI curves correspond to 21 frame cumulative detection with
the last frame at: 55 Km for the missile and 90 Km for the
aircraft.
Listing 2.1. MATLAB Program Ðfig2_2.mÑ
% This program can be used to reproduce Figure 2.2 o f the text
clear all
close all
xg = linspace(-6,6,1500); % random variable between -6 and 6
xr = linspace(0,6,1500); % random variable between 0 and 6
mu = 0; % zero mean Gaussian pdf mean
sigma = 1.5; % standard deviation (sqrt(variance))
ynorm = normpdf(xg,mu,sigma); % use MATLAB function normpdf
yray = raylpdf(xr,sigma); % use MATLAB function raylpdf
plot(xg,ynorm,'k',xr,yray,'k-.');
grid
legend('Gaussian pdf','Rayleigh pdf')
xlabel('x')
 
Search WWH ::




Custom Search