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

    %% Collect Signal at a Single Antenna
% Use the wideband collector to construct the signal impinging upon a
% single isotropic antenna from 10 degrees azimuth and 30 degrees elevation.

% Copyright 2015 The MathWorks, Inc.

sIso = phased.IsotropicAntennaElement;
sColl = phased.WidebandCollector('Sensor',sIso);
x = [1;1;1];
incidentAngle = [10;30];
y = step(sColl,x,incidentAngle);
disp(y)