XYZ chromaticity coordinates
xyz = ccxyz(lambda) is the xyz-chromaticity coordinates (3x1) for illumination at wavelength lambda. If lambda is a vector (Nx1) then each row of xyz (Nx3) is the xyz-chromaticity of the corresponding element of lambda.
xyz = ccxyz(lambda, E) is the xyz-chromaticity coordinates (Nx3) for an illumination spectrum E (Nx1) defined at corresponding wavelengths lambda (Nx1).
Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.