Antenna Pattern Design Using a Phased-Array Antenna and the Minimax Algorithm