M-File Help: cmfxyz | View code for cmfxyz |
matching function
The color matching function is the XYZ tristimulus required to match a particular wavelength excitation.
xyz = cmfxyz(lambda) is the CIE xyz color matching function (Nx3) for illumination at wavelength lambda (Nx1) [m]. If lambda is a vector then each row of xyz is the color matching function of the corresponding element of lambda.
xyz = cmfxyz(lambda, E) is the CIE xyz color matching (1x3) function for an illumination spectrum E (Nx1) defined at corresponding wavelengths lambda (Nx1).
© 1990-2012 Peter Corke.