www.gusucode.com > phased 案例源码 matlab代码程序 > phased/Response2by2URAShortDipoleAntennasExample.m

    %% Response of 2-by-2 URA of Short-Dipole Antennas
% Construct a 2-by-2 rectangular lattice URA of short-dipole antenna
% elements. Then, find the response of each element at boresight. Assume
% the operating frequency is 1 GHz.

% Copyright 2015 The MathWorks, Inc.


sSD = phased.ShortDipoleAntennaElement;
sURA = phased.URA('Element',sSD,'Size',[2 2]);
fc = 1e9;
ang = [0;0];
resp = step(sURA,fc,ang);
disp(resp.V)