Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

matlab plot 2D polar pattern

Status
Not open for further replies.

ppAntenna

Member level 1
Joined
Oct 11, 2001
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
247
2d polar matlab

If I have E field and H field. How can I plot an antenna pattern?
Anyone can provide a matlab code to do this ??
 

polar vectors+matlab

dead link?!
 

matlab radpat

looks like good link to me!
 

plot 2d polar matlab

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]);
 

matlab polar pattern

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??
:roll:
 

polarpattern 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
 

matlab spherical plot 2d

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

matlab poynting vector

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

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top