where xp(j) and xq(j) respectively represents the instrumental responses
at the jth wavelength for samples p and q, while J denotes
the number of wavelengths in the spectra and N is the total number
of all the samples. The procedure is depicted in Fig. 2, where the
sample selection rules were