Water and Steam Refractive Index
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 (2024). Water and Steam Refractive Index (https://www.mathworks.com/matlabcentral/fileexchange/46179-water-and-steam-refractive-index), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: X Steam, Thermodynamic properties of water and steam., Air Refractive Index, IAPWS_IF97
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.