added a matlab spectrometer preview script