Joint design of co-existing communication system and pulsed radar