Getting the complex antenna response in the antenna library?

6 views (last 30 days)
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.

Answers (1)

Honglei Chen
Honglei Chen on 16 May 2019
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 Comments
Honglei Chen
Honglei Chen on 17 May 2019
Have you tried my alternative code? That should give you both magnitude and phase. Does that help?
Yubei Xiong
Yubei Xiong on 27 May 2019
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!