how to get plot spectrum for this function of DOA?
Show older comments
fs = 8000; t = (0:1/fs:1).';
x1 = cos(2*pi*t*300); x2 = cos(2*pi*t*400);
ha = phased.ULA('NumElements',10,'ElementSpacing',1);
ha.Element.FrequencyRange = [100e6 300e6];
fc = 150e6;
x = collectPlaneWave(ha,[x1 x2],[10 20;45 60]',fc);
rng default;
noise = 0.1/sqrt(2)*(randn(size(x))+1i*randn(size(x)));
hdoa = phased.ESPRITEstimator('SensorArray',ha,...
'OperatingFrequency',fc);
doas = step(hdoa,x+noise);
az = broadside2az(sort(doas),[20 60])
1 Comment
Honglei Chen
on 12 Apr 2013
edited to code format
Answers (1)
Honglei Chen
on 12 Apr 2013
0 votes
Hi Ali,
Unlike beamscan or MVDR, ESPRIT is not a spectrum based algorithm. So the result of the algorithm is the angle itself. do you have anything specific you are looking for?
1 Comment
Modula
on 6 Mar 2018
So if we need to draw the power-angle curve using the espritestimator, is there any way to make it?
Categories
Find more on Direction of Arrival Estimation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!