esprit_doa.m
来自「谱估计及阵列信号处理算法仿真库」· M 代码 · 共 27 行
M
27 行
function doa=esprit_doa(Y,n,d)%% The ESPRIT method for DOA estimates %% call doa=esprit_doa(Y,n,d)%% Y <- the ULA data% n <- the number of sources% d <- sensor spacing in wavelengths% doa -> the vector of DOA estimates% Copyright 1996 by R. Moses[m,N]=size(Y);% compute the sample covariance matrixR=Y*Y'/N;% do the eigendecomposition; use svd because it sorts eigenvalues[U,D,V]=svd(R);S=U(:,1:n);phi = S(1:m-1,:)\S(2:m,:);w=-angle(eig(phi));doa=asin(w/d/pi/2)*180/pi;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?