How can I import 2D antenna radiation pattern into 2D cartesian coordinates environment?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Samuel Vadovic
le 26 Mai 2024
Commenté : Star Strider
le 26 Mai 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 commentaires
Réponse acceptée
Star Strider
le 26 Mai 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 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!