Fit blackbody equation to spectrum
Simple example of the use of the FMINSEARCH function to fit the blackbody equation to the emission spectrum of an incandescent body for the purpose of estimating its color temperature and emissivity. fitblackbody.m is the fitting function. BlackbodyDataFit.m is a script that fits a small set of experimental data. Demofitblackbody.m is a script that fits a computer-generated blackbody spectrum with simulated photon noise and temperature noise (random variation in the temperature from point to point in the spectrum).
Cite As
Tom O'Haver (2026). Fit blackbody equation to spectrum (https://ch.mathworks.com/matlabcentral/fileexchange/20129-fit-blackbody-equation-to-spectrum), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |