Main Content

rrtheta

Compute relative temperature ratio

    Description

    example

    th = rrtheta(t0,mach,g) computes temperature relative ratios, th, from static temperatures t0, Mach numbers mach, and specific heat ratios g. t0 must be in kelvin.

    Examples

    collapse all

    Determine the relative temperature ratio for three temperatures.

    th = rrtheta([273.15 310.9278 373.15], 0.5, 1.4)
    th = 1×3
    
        0.9953    1.1330    1.3597
    
    

    Determine the relative temperature ratio for three temperatures at three different conditions.

    th = rrtheta([273.15 310.9278 373.15], [0.5 1 2], [1.4 1.35 1.4])
    th = 1×3
    
        0.9953    1.2679    2.3310
    
    

    Determine the relative temperature ratio for three temperatures and three different heat ratios.

    th = rrtheta([273.15 310.9278 373.15], 0.5, [1.4 1.35 1.4])
    th = 1×3
    
        0.9953    1.1263    1.3597
    
    

    Input Arguments

    collapse all

    Static temperatures, specified as a scalar or vector in kelvin.

    Example: [1.4 1.35. 1.4]

    Data Types: double

    Mach numbers, specified as a scalar or vector.

    Example: [0.5 1 2]

    Data Types: double

    Specific heat ratios, specified as a scalar or vector.

    Example: [0.5 1 2]

    Data Types: double

    Output Arguments

    collapse all

    Relative temperature ratios, returned as a scalar or vector.

    Limitations

    For cases in which total temperature ratio is desired, that is, the Mach number is nonzero, the total temperature is calculated assuming perfect gas (with constant molecular weight — with constant pressure specific heat, and constant specific heat ratio — and dry air.

    References

    [1] Pratt & Whitney Aircraft. Aeronautical Vestpocket Handbook. United Technologies, August 1986.

    Version History

    Introduced in R2006b

    See Also

    |