A method of array pattern synthesis by phase control