Air Refractive Index

version (2.4 KB) by John Smith
Computes either the Edlen or Ciddor refractive index of air


Updated 29 Apr 2011

View License

Given wavelength, temperature, pressure, humidity and CO2 concentration, uses algorithms described in to compute the real part of the refractive index of air. Valid for visible wavelengths and most surface-level conditions. Useful for determining the effect of changing atmospheric conditions on high spectral resolution optical components.

Cite As

John Smith (2022). Air Refractive Index (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Water and Steam Refractive Index

Community Treasure Hunt

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

Start Hunting!