Fahrenheit to Celsius
Converting degrees Fahrenheit to degrees Celsius.
Description
Block Fahrenheit to Celsius converts the input temperature value from degrees Fahrenheit to degrees Celsius using the formula
,
where is the temperature in degrees Fahrenheit and is the temperature in degrees Celsius.
Ports
Input
Port_1 - temperature in degrees Fahrenheit
scalar
| vector
| matrix
Input temperature value in degrees Fahrenheit.
Data types: Float16
, Float32
, Float64
, Int8
, Int16
, Int32
, Int64
, UInt8
, UInt16
, UInt32
, UInt64
, Fixed
, Bool
Support for complex numbers: No
Output
Port_1 - temperature in degrees Celsius
scalar
| vector
| matrix
Output temperature value in degrees Celsius. The size of the output is equal to the size of the input. The data type is determined by the input data type: if the input is Float16
, Float32
or Float64
, the output signal type coincides with the input type, in all other cases it is converted to Float64
.
Data types: Float16
, Float32
, Float64