rocsnr
Receiver operating characteristic curves by SNR
Syntax
[Pd,Pfa] = rocsnr(SNRdB)
[Pd,Pfa] = rocsnr(SNRdB,Name,Value)
rocsnr(...)
Description
[
returns the single-pulse detection probabilities,Pd
,Pfa
] = rocsnr(SNRdB
)Pd
, and false-alarm probabilities,Pfa
, for the SNRs in the vectorSNRdB
。By default, for each SNR, the detection probabilities are computed for 101 false-alarm probabilities between 1e–10 and 1. The false-alarm probabilities are logarithmically equally spaced. The ROC curve is constructed assuming a coherent receiver with a nonfluctuating target.
[
returns detection probabilities and false-alarm probabilities with additional options specified by one or morePd
,Pfa
] = rocsnr(SNRdB
,Name,Value
)Name,Value
pair arguments.
rocsnr(...)
plots the ROC curves.
Input Arguments
|
Signal-to-noise ratios in decibels, in a row or column vector. |
Name-Value Pair Arguments
Specify optional comma-separated pairs ofName,Value
arguments.Name
is the argument name andValue
is the corresponding value.Name
must appear inside quotes. You can specify several name and value pair arguments in any order asName1,Value1,...,NameN,ValueN
。
|
Maximum false-alarm probability to include in the ROC calculation. Default: |
|
Minimum false-alarm probability to include in the ROC calculation. Default: |
|
Number of false-alarm 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
where For details about the other supported signal types, see[1]。 Default: |
Output Arguments
|
Detection probabilities corresponding to the false-alarm probabilities. For each SNR in |
|
False-alarm probabilities in a column vector. By default, the false-alarm probabilities are 101 logarithmically equally spaced values between 1e–10 and 1. To change the range of probabilities, use the optional |
Examples
References
[1] Richards, M. A.Fundamentals of Radar Signal Processing。纽约:麦格劳-希尔,2005,pp298–336.