CFAR algorithmSpecify the CFAR detection algorithm using one of the values
CACell-averaging
GOCAGreatest-of cell averaging
OSOrder statistic
SOCASmallest-of cell averagingNumber of guard
cellsSpecify the number of guard cells used in training as an even
integer. This parameter specifies the total number of cells on both
sides of the cell under test.Number of training
cellsSpecify the number of training cells used in training as an
even integer. Whenever possible, the training cells are equally divided
before and after the cell under test.Rank of order statisticThis parameter appears when CFAR algorithm is
set to OS. Specify the rank of the order statistic
as a positive integer scalar. The value must be less than or equal
to the value of Number of training cells.Threshold factor
methodSpecify whether the threshold factor comes from an automatic
calculation, the Custom threshold factor parameter,
or an input argument. Values of this parameter are:
AutoThe application calculates the threshold factor automatically
based on the desired probability of false alarm specified in the Probability
of false alarm parameter. The calculation assumes each
independent signal in the input is a single pulse coming out of a
square law detector with no pulse integration. The calculation also
assumes the noise is white Gaussian.
CustomThe Custom threshold factor parameter
specifies the threshold factor.
Input portThreshold factor is set using the input port K.
This port appears only when Threshold factor method is
set to Input port.Probability of
false alarmThis parameter appears only when you set Threshold
factor method to Auto. Specify the desired
probability of false alarm as a scalar between 0 and 1 (not inclusive).Custom threshold
factorThis parameter appears only when you set Threshold
factor method to Custom. Specify the
custom threshold factor as a positive scalar.Output formatFormat of detection results returned in output port Y,
by the specified as 'CUT result' or 'Detection
index'.
When set to 'CUT result', the results
are logical detection values (1 or 0)
for each tested cell. 1 indicates that the value
of the tested cell exceeds a detection threshold.
When set to 'Detection index',
the results form a vector or matrix containing the indices of tested
cells which exceed a detection threshold.Output detection
thresholdSelect this check box to create an output port Th containing
the detection threshold.Output estimated noise powerSelect this check box to create an output port N containing
the estimated noise.Source of the number of detectionsSource of the number of detections, specified as
Auto or Property.
When you select Auto, the number of detection
indices reported is the total number of cells under test that have
detections. If you select Property, the number of
reported detections is determined by the value of the Maximum
number of detections parameter.
To enable this parameter, set the Output format
parameter to Detection index.Maximum number of detectionsMaximum number of detection indices to report, specified as a positive
integer.
To enable this parameter, set the Output format
parameter to Detection index and the
Source of the number of detections parameter to
Property.Simulate usingBlock simulation method, specified as Interpreted Execution or Code
Generation. If you want your block to use the MATLAB® interpreter,
choose Interpreted Execution. If you want your
block to run as compiled code, choose Code Generation.
Compiled code requires time to compile but usually runs faster.
Interpreted execution is useful when you are developing and
tuning a model. The block runs the underlying System object™ in MATLAB.
You can change and execute your model quickly. When you are satisfied
with your results, you can then run the block using Code
Generation. Long simulations run faster than they would
in interpreted execution. You can run repeated executions without
recompiling. However, if you change any block parameters, then the
block automatically recompiles before execution.
When setting this parameter, you must take into account the
overall model simulation mode. The table shows how the Simulate
using parameter interacts with the overall simulation mode.
When the Simulink® model is in Accelerator mode, the block mode specified
using Simulate using overrides the simulation mode.
Acceleration Modes
Block SimulationSimulation
Behavior
NormalAcceleratorRapid Accelerator
Interpreted ExecutionThe block executes using the MATLAB interpreter.The block executes using the MATLAB interpreter.Creates a standalone executable from the
model.
Code GenerationThe block is compiled.All blocks in the model are compiled.
For more information, see Choosing a Simulation Mode(Simulink).