convertSNR
Syntax
Description
converts the input signal-to-noise ratio value y
= convertSNR(x
,inputmode
,outputmode
)x
to the ratio specified
by outputmode
. For more information, see Algorithms.
specifies additional name-value arguments.y
= convertSNR(x
,inputmode
,Name=Value
)
Examples
Input Arguments
Output Arguments
Algorithms
This table shows the valid input to output mode conversions.
inputmode to
outputmode | Conversion |
---|---|
"ebno" to "snr" | SNR = Eb / N0 + 10log10((Nbps×R) / Nsps) |
"snr" to "ebno" | Eb / N0 = SNR – 10log10((Nbps×R) / Nsps) |
"ebno" to "esno" | Es / N0 = Eb / N0 + 10log10(Nbps×R) |
"esno" to "ebno" | Eb / N0 = Es / N0 – 10log10(Nbps×R) |
"esno" to "snr" | SNR = Es / N0 – 10log10(Nsps) |
"snr" to "esno" | Es / N0 = SNR + 10log10(Nsps) |
"snrsc" to "snr" | SNR = SNRSC + 10log10(NSC / FFTLen) |
"snr" to "snrsc" | SNRSC = SNR – 10log10(NSC / FFTLen) |
Where
Nbps is the
BitsPerSymbol
value.Nsps is the
SamplesPerSymbol
value.R is the
CodingRate
value.FFTLen is the
FFTLength
value.NSC is the
NumActiveSubcarriers
value.Eb / N0 is the
x
value input ory
value output when you setinputmode
oroutputmode
, respectively, to"ebno"
.Es / N0 is the
x
value input ory
value output when you setinputmode
oroutputmode
, respectively, to"esno"
.SNR is the
x
value input ory
value output when you setinputmode
oroutputmode
, respectively, to"snr"
.SNRSC is the
x
value input ory
value output when you setinputmode
oroutputmode
, respectively, to"snrsc"
.