Hi Xining
I have just started using the Antenna Toolbox for MSc, but it looks like the standard dipole and monopole elements predefined in MATLAB, at 2GHz, overlap when in an array spaced lambda/2, lambda only 15cm.
I say this because I have tried the spacing from 0.9 down to 0.09 and it seems to work fine, but at lambda/2, the overlap error in the mesh shows up, have a look:
clear
freq = 2e9;
c = physconst('lightspeed');
lambda = c/freq;
h=rectangularArray;
h.Size=[3 3];
h.ColumnSpacing=.9;
h.RowSpacing=.9;
h.Tilt=90;
h.TiltAxis=[0 0 1];
layout(h);
figure(1);show(h)
I skipped the S parameters second step because it does not seem to be the cause of the error because if you try your code without the ColumnSpacing and RowSpacing, the default value of 2m works fine.
Now try
h.ColumnSpacing=.09;
h.RowSpacing=.09;
figure(2);show(h);
have a look in the monopole class definition in MATLAB help:
Try defining a custom antenna element, modifying the W of the standard monopole class.
Xining would you please be so kind to mark my answer as Accepted Answer?
To any other reader, please if you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John