High-speed spectrum analyser using a pulse-compression technique