How can I import 2D antenna radiation pattern into 2D cartesian coordinates environment?
4 views (last 30 days)
Show older comments
Samuel Vadovic
on 26 May 2024
Commented: Star Strider
on 26 May 2024
Is there a way to get the radiation pattern's x and y vertices (for instance) from available matlab antennas? Or any other kind of data which might be further used for plot(x,y) function?
0 Comments
Accepted Answer
Star Strider
on 26 May 2024
I am not certain what you want or what your current data are. (I also do not have significant experience with the Antenna Toolbox.) The pol2cart function offers one option.
Try this —
h = helix;
[pat,azimuth,elevation] = pattern (h, 2e9, 0, 1:1:360); % Example from the 'pattern' Documentation
% figure
% plot(elevation, pat)
% grid
figure
polarplot(deg2rad(elevation), abs(pat))
[x,y] = pol2cart(deg2rad(elevation).', abs(pat));
figure
plot(x, y)
grid
axis('equal')
.
2 Comments
More Answers (0)
See Also
Categories
Find more on Antennas, Microphones, and Sonar Transducers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!