A method of controlling a switching element in a switching regulator power supply
of a radar. The method of controlling the switching element comprises only switching
the switching element during predetermined time intervals, the predetermined time
intervals advantageously being sample intervals of a pulse repetition interval
of the radar. Thereby by having knowledge of the time intervals the switching element
is switching, being able to remove or diminish any influence the switching can
have on the quality of received signals and subsequent processing of these signals.