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

    %% Covariance Matrix for Two Correlated Signals with 10 dB SNR
% Compute the covariance matrix for a 3-element half-wavelength spaced line
% array when there is some correlation between two signals. The correlation
% can model, for example, multipath propagation caused by reflection from a
% surface. Assume an additive noise power value of –10 dB.
N = 3;
d = 0.5;
elementPos = (0:N-1)*d;
scov = [1, 0.8; 0.8, 1];
xcov = sensorcov(elementPos,[30 35],db2pow(-10),scov)