www.gusucode.com > phased 案例源码 matlab代码程序 > phased/NonfluctuatingRCSTargetExample.m

    %% Gain for Nonfluctuating RCS Target
% Create a radar target with a nonfluctuating RCS of 1 square meter and an
% operating frequency of 1 GHz. Specify a wave propagation speed equal to
% the speed of light.
%%
% *Note:* This example runs only in R2016b or later. If you are using an earlier
% release, replace each call to the function with the equivalent |step|
% syntax. For example, replace |myObject(x)| with |step(myObject,x)|.

sigma = 1.0;
target = phased.RadarTarget('Model','nonfluctuating','MeanRCS',sigma,...
    'PropagationSpeed',physconst('LightSpeed'),'OperatingFrequency',1e9);

%%
% For a nonfluctuation target, the reflected waveform equals the incident
% waveform scaled by the gain
%
% $$G=\sqrt{\frac{4\pi\sigma}{\lambda^2}}$$
%
%%
% Here, σ represents the mean target RCS, and λ is the
% wavelength of the operating frequency.
%%
% Set the signal incident on the target to be a vector of ones to obtain
% the gain factor used by the |phased.RadarTarget| System object(TM).
x = ones(10,1);
y = target(x)
%%
% Compute the gain from the formula to verify that the output of the
% System object equals the theoretical value.
lambda = target.PropagationSpeed/target.OperatingFrequency;
G = sqrt(4*pi*sigma/lambda^2)