M-File Help: loadspectrum View code for loadspectrum

loadspectrum

Load spectrum data

s = loadspectrum(lambda, filename) is spectral data (NxD) from file filename interpolated to wavelengths [metres] specified in lambda (Nx1). The spectral data can be scalar (D=1) or vector (D>1) valued.

[s,lambda] = loadspectrum(lambda, filename) as above but also returns the passed wavelength lambda.

Notes

References


 

© 1990-2012 Peter Corke.