The measurement of echodirection in a phased-array radar