1

我在使用 2D 音乐算法实现距离方位角时遇到了麻烦。我使用 URA 方位角通过信号上的仰角找到反射信号。我想绘制范围-角度映射以找到目标与设备的距离。下面是我的代码。如何从我当前的代码或任何建议中找到范围方位角代码?:这是我当前的代码:

f1 = 17000;
f2 = 19000;
doa1 = [40;10];
doa2 = [-60;20];
thetas = 90*pi/180
p = -pi/2:pi/180:pi/2;
doa = [doa1 doa2];
fc = 18000;
c = physconst('LightSpeed')
lam = c/fc
fs = 48000;

array = phased.URA('Size',[15 12],'ElementSpacing',[lam/2 lam/2]);
array.Element.FrequencyRange = [18e5 23.0e5];

fileId = fopen('D:\signal123.mat');
signal1 = fileId;
%signal_reshape = reshape(signal,[],2)
x = collectPlaneWave(array,[signal1,signal1],doa,fc)
%noise = 0.1*(randn(size(x))+1i*randn(size(x)));

estimator = phased.MUSICEstimator2D('SensorArray',array,...
    'OperatingFrequency',fc,...
    'NumSignalsSource','Property',...
    'DOAOutputPort',true,'NumSignals',2,...
    'AzimuthScanAngles',-90:.5:90,...
    'ElevationScanAngles',-90:.5:90)
[~,doas] = estimator(x)

plotSpectrum(estimator);

数字

4

0 回答 0