Radar and sonar