www.gusucode.com > phased 案例源码 matlab代码程序 > phased/ThreeSignalsArrivingAtHalfWavelengthSpacedULAExample.m
%% Three Signals Arriving at Half-Wavelength-Spaced ULA % Assume a half-wavelength spaced uniform line array with 10 elements. % Three plane waves arrive from the 0°, –25°, and 30° % azimuth directions. Elevation angles are 0°. The noise is spatially % and temporally white Gaussian noise. %% % Set the SNR for each signal to 5 dB. Find the arrival angles. N = 10; d = 0.5; elementPos = (0:N-1)*d; angles = [0 -25 30]; Nsig = 3; R = sensorcov(elementPos,angles,db2pow(-5)); doa = rootmusicdoa(R,Nsig) %% % These angles agree with the known input angles.