Receiver operating characteristic curves by SNR
[Pd,Pfa]
= rocsnr(SNRdB)
[Pd,Pfa]
= rocsnr(SNRdB,Name,Value)
rocsnr(...)
[
returns the singlepulse
detection probabilities, Pd
,Pfa
]
= rocsnr(SNRdB
)Pd
, and falsealarm
probabilities, Pfa
, for the SNRs in the vector SNRdB
.
By default, for each SNR, the detection probabilities are computed
for 101 falsealarm probabilities between 1e–10 and 1. The
falsealarm probabilities are logarithmically equally spaced. The
ROC curve is constructed assuming a coherent receiver with a nonfluctuating
target.
[
returns
detection probabilities and falsealarm probabilities with additional
options specified by one or more Pd
,Pfa
]
= rocsnr(SNRdB
,Name,Value
)Name,Value
pair
arguments.
rocsnr(...)
plots the ROC curves.

Signaltonoise ratios in decibels, in a row or column vector. 
Specify optional
commaseparated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.

Maximum falsealarm probability to include in the ROC calculation. Default: 

Minimum falsealarm probability to include in the ROC calculation. Default: 

Number of falsealarm probabilities to use when calculating
the ROC curves. The actual probability values are logarithmically
equally spaced between Default: 

Number of pulses to integrate when calculating the ROC curves.
A value of Default: 

This property specifies the type of received signal or, equivalently,
the probability density functions (PDF) used to compute the ROC. Valid
values are: The $${P}_{D}=\frac{1}{2}\text{erfc}({\text{erfc}}^{1}(2{P}_{FA})\sqrt{\chi})$$ where For details about the other supported signal types, see [1]. Default: 

Detection probabilities corresponding to the falsealarm probabilities.
For each SNR in 

Falsealarm probabilities in a column vector. By default, the
falsealarm probabilities are 101 logarithmically equally spaced values
between 1e–10 and 1. To change the range of probabilities,
use the optional 
[1] Richards, M. A. Fundamentals of Radar Signal Processing. New York: McGrawHill, 2005, pp 298–336.