微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > 2d polar matlab

2d polar matlab

时间:04-11 整理:3721RD 点击:
If I have E field and H field. How can I plot an antenna pattern?
Anyone can provide a matlab code to do this ?

http://hibp.ecse.rpi.edu/~connor/waves.html

Check radpat.m



dead link?!

looks like good link to me!

my mistake, some pages are ok, but the matlab files are dead links.
let me make it up with this matlab code that should be very close to what you want (it actually defines then plots spherical harmonics)

L=2;M=1;
theta=pi*linspace(0,1,30);
phi=2*pi*linspace(0,1,60);
r=legendre(L,cos(theta),'sch');
dd=r(M+1,:);dd=abs(dd' * cos(M*phi));
X=dd.*(sin(theta)'*cos(phi));
Y=dd.*(sin(theta)'*sin(phi));
Z=dd.*(cos(theta)'*ones(size(phi)));
figure(1);clf;mesh(X,Y,Z),
shading flat;
axis on;axis square;axis([-1 1 -1 1 -1 1]);
colormap gray;
caxis([0 10]);

Thnaks for your help rntsay,

But I mean I have EX Ey Ez and Hx Hy Hz six component.
How can I convert those to 2D polar pattern in matlab?

Hi!

You need to convert cartesian components to spherical. You can use i.e. Bahl&Bhartia&Garg&Ittipiboon: Microstrip Antenna design Handbook, matrix equation (1.25) at pp. 37.
Regards,
Eirp

look at Poynting vector definition to get
(Ex,Ey,Ez,Hx,Hy,Hz) -> energy (scalar) -> power ... -> antenna pattern

Check it now

http://www.ibiblio.org/pub/academic/...o-mag/radpat.m

same file.



Another good polar plot

http://www.mathworks.com/matlabcentr...bjectType=file

Description: A modification of The Mathworks POLAR function, DIRPLOT generates directivity plots in the style commonly used in acoustic and RF work.

Cheers,
eirp

I need to plot a 3D pattern of an Antenna , How can I do using MATLAB

上一篇:FM receiver?
下一篇:最后一页

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top