Water and Steam Refractive Index
Version 1.2.0.0 (2.26 KB) by
Martin Klein Schaarsberg
Computes the index of refraction of water and steam
Computes the index of refraction using the 1997 release of the IAPWS available on http://www.iapws.org
The density can be obtained from pressure and temperature using XSteam, IAPWS_IF97 or similar solutions available on the Matlab File Exchange. An example is included, which requires IAPWS_IF97 (not included).
Cite As
Martin Klein Schaarsberg (2026). Water and Steam Refractive Index (https://uk.mathworks.com/matlabcentral/fileexchange/46179-water-and-steam-refractive-index), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: X Steam, Thermodynamic properties of water and steam., Air Refractive Index, IAPWS_IF97
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
