Graphics Programs Reference
In-Depth Information
Figure 10.12. Image from Fig. 10.11 after applying the M 2 algorithm.
10.5. MATLAB Program and Function Listings
This section presents listings for all MATLAB programs/functions used in
this chapter. The user is advised to rerun these programs with different input
parameters.
Listing 10.1. MATLAB Function Ðssj_req.mÑ
function [BR_range] = ssj_req (pt, g, freq, sigma, b, loss, ...
pj, bj, gj, lossj)
% This function implements Eq. (10.9)
c = 3.0e+8;
lambda = c / freq;
lambda_db = 10*log10(lambda^2);
if (loss == 0.0)
loss = 0.000001;
end
if (lossj == 0.0)
lossj =0.000001;
end
sigmadb =10*log10(sigma);
 
Search WWH ::




Custom Search