A pulse sequence for exciting nuclear quadrupole resonance in a sample comprising a first type substance containing quadrupolar nuclei and a second type substance which may give rise to spurious signals which interfere with response signals from the quadrupolar nuclei, the pulse sequence comprising a plurality of pairs of pulses, each of said plurality of pairs of pulses comprising two member pulses, the pulse sequence being such that respective spurious signals following the two member pulses of each of said plurality of pairs of pulses can be at least partially cancelled without the corresponding true quadrupole resonance signals being completely cancelled, and, for each of said plurality of pairs of pulses, the two member pulses being of like phase.