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

    %% Simulate Received Signal at 5-element UCA
% Create a random signal arriving at a 5-element UCA from 10 degrees azimuth and 30 degrees azimuth. Both signals
% have an elevation angle of 0 degrees. Assume the propagation speed is the
% speed of light and the carrier frequency of the signal is 100 MHz. The
% signals are two random noise signals of three samples each.

% Copyright 2015 The MathWorks, Inc.


sUCA = phased.UCA('NumElements',5,'Radius',2.0);
y = collectPlaneWave(sUCA,randn(3,2),[10 30],100e6,...
    physconst('LightSpeed'));
disp(y)