SS = GenerateCorruptSpectra(lambda, Spec, 5, 0.3, 0.005);
clf;
plot(SS);
hold on;
plot(Spec,'k');
hold off;