PLS_Toolbox Documentation: lamsel | < jmlimit | lddlgpls > |
lamsel
Purpose
Determine indices of wavelength axes in specified ranges.
Synopsis
inds = lamsel(freqs,ranges,out)
Description
LAMSEL determines the indices of the elements of a wavelength or wavenumber axis within the ranges specified. Inputs are the wavelength or wavenumber axis freqs and an m by 2 matrix defining the wavelength ranges to select ranges.
An optional input out suppresses displaying information to the command window when set to 0.
The output inds is a vector of indices of channels in the specified range(s) inclusive.
Examples
inds = lamsel(lamda,[840 860; 1380 1400]);
outputs the indices of the elements of lamda between 840 and 860 and between 1380 and 1400.
See Also
< jmlimit | lddlgpls > |