Temperature Scales Conversion with Matlab

Conversion of temperature from the Celsius scale to all other scales and vice-versa.
14 Downloads
Updated 9 Oct 2021

View License

The present codes are two Matlab functions for conversion of temperature from the Celsius scale to all other scales and vice-versa. The supported scales are Celsius, Fahrenheit, Kelvin, Rankine, Dalisle, Newton, Reaumur and Romer. Any type of conversion could be done using the two provided functions in conjunction e.g., conversion from Fahrenheit to Kelvin scale (see example1.m).
Two examples are given in order to clarify the usage of the functions. For convenience, the input and output arguments are given in the beginning of the functions.
The codes are based on the theory described in:
[1] Wikipedia contributors. “Conversion of scales of temperature”. Wikipedia, The Free Encyclopedia, 26 Jun. 2021. Retrieved 09 Oct. 2021.

Cite As

Hristo Zhivomirov (2024). Temperature Scales Conversion with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/100431-temperature-scales-conversion-with-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0