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).
Martin Klein Schaarsberg (2022). 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 CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!