Radiation pattern in MATLAB
from CST
Md Nazmul Hasan
Founder, Tensorbundle Lab
[Link]
Tensorbundle Lab 1
2.4GHz Patch radiation pattern
Tensorbundle Lab
2.4GHz Patch radiation pattern
Tensorbundle Lab
Important Note
In order to get full 360 degree sweep
polar plot in MATLAB, make sure you
enable these two options. Otherwise,
half-plot will appear.
Tensorbundle Lab
Export the ASCII file from CST
Tensorbundle Lab
Co-polarization and cross polarization
column3 (used this column6 (used this
inde=3 in MATLAB) index=6 in MATLAB)
co-polarization cross-polarization
they are distinguishable because co-polarization has higher dBi and cross polarization has negative dBi values
Tensorbundle Lab
MATLAB
Make a new script file and copy paste the contents of the
ASCII file exported from CST microwave studio.
-Define it as an array “a” with headers being deleted
code:
a=[copy & paste the content of ASCII file here];
Don’t forget to close the array with bracket
and semicolon in MATLAB
Tensorbundle Lab
Code of MATLAB
Write the following code and run the script file and you will get following plot
m=polar (a(:,1).*pi/180+pi/2, 40+a(:,3));co-polarization
hold on
m2=polar (a(:,1).*pi/180+pi/2, 40+a(:,6)); cross-polarization
40 is the size of the radius of the circle. If
you don’t give it, the plot will not be as you
expected. You can change this value upto
your need i.e. how bigger the circle you Tensorbundle Lab
need.