Water and Steam Refractive Index

Computes the index of refraction of water and steam
Updated 10 Apr 2014

View License

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
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Chemistry in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

fixed vectorization bugs

Added example file