Main Content

quanttemp

Quantization temperature

Since R2021a

    Description

    qtemp = quanttemp(Ts,B) returns the quantization temperature in Kelvin based on the system temperature Ts and the number of bits B.

    example

    qtemp = quanttemp(Ts,B,Name=Value) returns the quantization temperature with additional options specified by one or more name-value arguments. DynamicRange sets the dynamic range and ReferenceTemperature sets the reference temperature.

    example

    [qtemp,qnf] = quanttemp(___) also outputs the quantization noise figure qnf in decibels.

    Examples

    collapse all

    Calculate the quantization temperature for a radar with a system temperature of 1000 K and number of bits equal to 10.

    Ts = 1000;
    B = 10;
    
    qtemp = quanttemp(Ts,B)
    qtemp = 
    41.7656
    

    Calculate the quantization temperature for a radar with a system temperature of 1000 K and number of bits equal to 10. Assume a dynamic range of 45 dB.

    Ts = 1000;
    B = 10;
    
    qtemp = quanttemp(Ts,B,'DynamicRange',45)
    qtemp = 
    20.1052
    

    Input Arguments

    collapse all

    System temperature, specified as a positive scalar expressed in Kelvin.

    Data Types: double

    Number of bits, specified as a vector of positive integers. B and DynamicRange have the same length.

    Data Types: double

    Name-Value Arguments

    Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

    Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

    Example: quanttemp(Ts,B,DynamicRange=45) specifies a dynamic range of 45 dB.

    Dynamic range corresponding to the number of bits in input argument B, specified as a vector expressed in decibels. B and DynamicRange have the same length. By default, the dynamic range is calculated assuming the thermal noise magnitude at the output of the receiver is 3 dB above the quantizing noise magnitude because it provides a compromise between the competing needs for a larger dynamic range and small quantizing noise. That is,

    DynamicRange = 1/8 × (2B / q)2,

    where q, the ratio of the thermal noise magnitude to the quantizing noise magnitude, is set to 3 dB.

    Reference temperature, specified as a positive scalar expressed in Kelvin.

    Output Arguments

    collapse all

    Quantization temperature in Kelvin, returned as a row vector.

    Quantization noise figure in decibels, returned as a row vector.

    References

    [1] Richards, M. A. Fundamentals of Radar Signal Processing. Second edition. New York: McGraw-Hill Education, 2014.

    [2] Barton, David K. Radar Equations for Modern Radar. Artech House Radar Series. Norwood, Mass: Artech House, 2013.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2021a

    See Also

    Functions