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.
引用格式
Hristo Zhivomirov (2024). Temperature Scales Conversion with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/100431-temperature-scales-conversion-with-matlab), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |