MATLAB: Need some help regarding uniform rectangular array in phased array system toolbox

Phased Array System Toolboxsteering radiation pattern

hi, I have recently started using the phased array system toolbox.I have designed uniform rectangular array . I want to steer the radiation pattern in both azimuth and elevation plane.kindly suggest me how could I do this using the phased array system toolbox??

Best Answer

Are you trying to do the beamforming or simply want to see the radiation pattern steered? Here is one simple example showing the latter
c = 3e8; fc = 3e8;
h = phased.URA(10);
hstv = phased.SteeringVector('SensorArray',h,'PropagationSpeed',c);
w = step(hstv,3e8,20);
plotResponse(h,fc,c,'Format','Polar','Weights',w);