version 2.1.2 (12.7 MB) by Julius Muschaweck
Matlab tool set for working with spectra, i.e. functions of wavelength (create, add, multiply, compute color coordinates and much more)


Updated 30 May 2022

From GitHub

View License on GitHub

JMO_Spectrum library

We deal routinely with spectra in illumination optics. We need to analyze LED spectra, compute color coordinates and color rendering values from spectra, integrate them, add spectra, multiply spectra with scalar weights and with other spectra (like transmission spectra), interpolate a given measured spectrum with non-equidistant wavelength values to a regular 1 nm array, and so on. In practice, this is tedious: spectra come in various formats, and the problem of dealing with two spectra als tabulated values which have two different sets of wavelengths is annoying. This open source Matlab library is designed to make these engineering tasks easy and transparent. It is partly compatible with GNU Octave, and should be fully compatible with Matlab for Mac and Linux.

View JMO_Spectrum on File Exchange

For more information, look at the documentation, index.html (which forwards to html/JMOSpectrumLibrary.html)

September 2019 - August 2021 Julius Muschaweck (

Cite As

Julius Muschaweck (2022). JMO_Spectrum (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with R2021a and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!





To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.