Update analyse_power_spectrum.m

amp, freq are all sorted/ordered by the freq along the index axis.