applearray
Electrical
- May 27, 2004
- 1
Hi guys,
Who has any suggestion on 3d pattern plot like in text books of Kraus or Balanis? I figured out the dipole pattern. But for other pattern I didn't figure it out. Do you have any suggestions? Thanks!
my code:
lear all;
x=-0.5:.01:0.5;
y=(1+sqrt(1-4*x.^2))/2;
y2=(1-sqrt(1-4*x.^2))/2;
[X,Y,Z] = cylinder(y,40);
[X2,Y2,Z2]=cylinder(y2,40);
figure;
mesh(X,Y,Z,'edgecolor','blue')
hold on
mesh(X2,Y2,Z2,'edgecolor','blue')
hold off
axis equal
Who has any suggestion on 3d pattern plot like in text books of Kraus or Balanis? I figured out the dipole pattern. But for other pattern I didn't figure it out. Do you have any suggestions? Thanks!
my code:
lear all;
x=-0.5:.01:0.5;
y=(1+sqrt(1-4*x.^2))/2;
y2=(1-sqrt(1-4*x.^2))/2;
[X,Y,Z] = cylinder(y,40);
[X2,Y2,Z2]=cylinder(y2,40);
figure;
mesh(X,Y,Z,'edgecolor','blue')
hold on
mesh(X2,Y2,Z2,'edgecolor','blue')
hold off
axis equal