Research Article

Novel Method for Optimal Synthesis of 5G Millimeter Wave Linear Antenna Array

Algorithm 1

Begin
 Set an initial solution ;
 Define , and ;
 Set , , , ;
if (cost function is with nulls) set  dB;
 Global search for . Solution of the search is ;
While ()
  Global search for . Solution of the search is ;
  Global search for . Solution of the search is ;
  Set ;
  if (cost function is with nulls) ;
  end
  if (cost function is with nulls)
   if ( is better than and )
   set , and ; end
  else
   if ( is better than ) set , and ; end
  end
  If () STOP;
  end
  ;
  ;
end
Outputs of the algorithm are and ;
end