MATLAB: How to process the 400 matrices to get the true color image

colordigital image processingImage Processing ToolboxSymbolic Math Toolbox

Hi, Now I got four hundred matrices (2D) at each wavelength with spectrometer. The wavelength range is about 500-600nm. Now I want to combine these 400 matrices to get true color of my sample. Since in Matlab, true color image is get with RGB. So the wavelength should transfer to RGB, then combine the 400 matrices. Does anyone know how to realize it?
Thank you very much

Best Answer

MuPAD function (that has no direct MATLAB interface):
Discussion:
Windows tool, but includes some code that could be converted:
"Dan Burton"'s page referenced by some of the above:
Now, the above talk about converting one wavelength to RGB. I am not sure how one would convert multiple wavelengths together.