Temperature Scales Conversion with Matlab

version 1.0.0 (3.17 KB) by Hristo Zhivomirov
Conversion of temperature from the Celsius scale to all other scales and vice-versa.

7 Downloads

Updated Sat, 09 Oct 2021 10:35:02 +0000

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 (2022). 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!