Getting the complex antenna response in the antenna library?

9 次查看(过去 30 天)
Is there a way of getting the complex antenna response (e-field magnitude as well as its phase) using the antenna library? This is possible with the phased library, by doing
aresp = phased.ArrayResponse('SensorArray',h);
resp = complex(zeros(181,361));
az = -180:1:180;
el = -90:1:90;
for m = 1:181
resp(m,:) = aresp(fc,[az;el(m)*ones(1,361)]);
end
And I can then obtain the phase of the radiated field. Is there something that allows me to do the same thing in the antenna library?
Thanks.

回答(1 个)

Honglei Chen
Honglei Chen 2019-5-16
Is this what you mean?
Or alternatively, if you want it to be in far field with input as an angle, you can always do
aresp = phased.ArrayResponse('SensorArray',phased.ConformalArray('Element',elem));
resp = complex(zeros(181,361));
az = -180:1:180;
el = -90:1:90;
for m = 1:181
resp(m,:) = aresp(fc,[az;el(m)*ones(1,361)]);
end
where elem is the element.
HTH
  3 个评论
Honglei Chen
Honglei Chen 2019-5-17
Have you tried my alternative code? That should give you both magnitude and phase. Does that help?
Yubei Xiong
Yubei Xiong 2019-5-27
The code you gave was based on the phased library. My question is to ask how I could do the same thing in the antenna library.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Antennas, Microphones, and Sonar Transducers 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by