Parameters such as the magnitude and direction of the first and second electric fields and the time delay between the ionization pulse and the application of the second electric field are chosen so that matrix ions having a mass less than a first selected mass are suppressed while sample ions having a mass greater than a second selected mass are detected with optimum mass resolution.