phased.CFARDetector
Constant false alarm rate (CFAR) detector
Description
The CFARDetector object implements a one-dimensional constant false-alarm
      rate (CFAR) detector. Detection processing is performed on selected elements (called cells) of
      the input data. A detection is declared when a cell value in the input data exceeds a
      threshold. To maintain a constant false alarm-rate, the threshold is set to a multiple of the
      local noise power of the input data. The detector estimates local noise power for a
      cell-under-test (CUT) from surrounding cells using one of three cell
      averaging methods, or an order statistics method. The cell-averaging methods are cell
      averaging (CA), greatest-of cell averaging (GOCA), or smallest-of cell averaging
      (SOCA).
For more information about CFAR detectors, see [1].
For each test cell, the detector:
- Estimates the noise statistic from the cell values in the training band surrounding the CUT cell. 
- Computes the threshold by multiplying the noise estimate by the threshold factor. 
- Compares the CUT cell value to the threshold to determine whether a target is present or absent. If the value is greater than the threshold, a target is present. 
detector = phased.CFARDetector creates a CFAR detector System object™, detector. The object performs CFAR detection on input
      data.
To run the detector:
- Create the - phased.CFARDetectorobject and set its properties.
- Call the object with arguments, as if it were a function. 
To learn more about how System objects work, see What Are System Objects?
Creation
Description
detector = phased.CFARDetector creates the object,
            detector. The object performs CFAR detection on input data.
detector = phased.CFARDetector(
          creates the object, Name,Value)detector, with each specified property Name set
          to the specified Value. You can specify additional name-value pair arguments in any order
          as
            (Name1,Value1,...,NameN,ValueN).
Properties
Usage
Syntax
Description
[
          also returns the detection threshold, Y,th] = detector(___)th, applied to detected cells
          under test. 
- When - OutputFormatis- 'CUT result',- thalso returns the detection threshold- th.
- When - OutputFormatis- 'Detection index',- threturns a detection threshold for each corresponding detection in- Y. When the- NumDetectionsSourceproperty is set to- 'Property', L equals the value of the- NumDetectionsproperty. If the number of actual detections is less than this value, columns without detections are set to- NaN.
To enable this syntax, set the ThresholdOutputPort property to
            true.
[
          also returns the estimated noise power, Y,noise] = detector(___)noise, for each detected cell
          under test in X. 
- When - OutputFormatis- 'CUT result',- noisereturns a noise power estimate.
- When - OutputFormatis- 'Detection index',- noisereturns a noise power estimate for each corresponding detection in- Y. When the- NumDetectionsSourceproperty is set to- 'Property', L equals the value of the- NumDetectionsproperty. If the number of actual detections is less than this value, columns without detections are set to- NaN.
To enable this syntax, set the NoisePowerOutputPort property to
            true.
Y = detector(X,cutidx,thfac)thfac as the threshold factor used to
          calculate the detection threshold. thfac must be a positive scalar.
          To enable this syntax, set the ThresholdFactor property to
            'Input port'.
You can combine optional input and output arguments when their enabling properties are
          set. Optional inputs and outputs must be listed in the same order as the order of the
          enabling properties. For example, [Y,TH,N]
= .detector(X,cutidx,thfac)
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
      System object as the first input argument. For
      example, to release system resources of a System object named obj, use
      this syntax:
release(obj)
Examples
Algorithms
References
[1] Richards, M. A. Fundamentals of Radar Signal Processing. New York: McGraw-Hill, 2005.
Extended Capabilities
Version History
Introduced in R2011a