Celsius to Fahrenheit
Converting degrees Celsius to degrees Fahrenheit.
Description
Block Celsius to Fahrenheit converts the input temperature value from degrees Celsius to degrees Fahrenheit using the formula
,
where is the temperature in degrees Fahrenheit and is the temperature in degrees Celsius.
Ports
Input
Port_1 - temperature in degrees Celsius
scalar
| vector
| matrix
Input temperature value in degrees Celsius.
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 Fahrenheit
scalar
| vector
| matrix
The output temperature value in degrees Fahrenheit. 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 is the same as the input type, in all other cases it is converted to Float64
.
Data types: Float16
, Float32
, Float64