Download MATLAB code: lens.zip
Download MATLAB code: trigray.zip
The actual raytrace is found in trig_ray.m.
Download MATLAB code and Schott data files: Schott.zip
Download MATLAB code: polyfit.zip
Download MATLAB and ZEMAX files: raytrace.zip.
Download MATLAB files: optimize.zip
script | lens | targets | merit function | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dx1 | singlet lens |
|
Download MATLAB code: tripdemo.zip
Download MATLAB code: apochromat.zip
The objective of this design is to have identical focal length (50 mm) at three wavelengths and zero fourth-order spherical aberration at those same wavelengths.
Download MATLAB code: psf.zip
Maintained by John Loomis, last updated 1 July 2009