In addition to the averaged spectra representing a whole potato tuber, the MATLAB routine provided the individual spectra from each potato tuber. Each individual spectrum represented a movement of 2–3 mm along the axis of the potato. These were used for calculation of the gradient in dry matter content along the potato