Extracting data from FEKO to polar plot in MATLAB
I have simulated an array of dipole antennas in FEKO and extracted the polar plot data of the far field radiation pattern in the form of a .dat file. However, when I am plotting the same graph using MATLAB using the extracted data, I am getting a completely different result. I am attaching the images of the plots obtained using FEKO and MATLAB and also the data file extracted from FEKO. How can the polar plots be obtained using MATLAB? Please suggest.
P.S. I have used the following MATLAB command after importing the .dat files (containing data from the FEKO polar plot for radiation pattern): polar(Phideg,FarField)
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
Answers
-
Hi Barman
Since there is nothing wrong in Feko, and you have the ASCII data file, I would suggest you contact Matlab support.
0 -
I have faced this kind of problem before. take the data from feko without using dB scale. then, plot them in matlab. I have always faced problems with dB plot in matlab. this is a matlab problem.
0 -
I have actually found the solution to it. After importing the data file to MATLAB we need to write the command: polarpattern(Phideg,FarField1dBV).
This is giving me the same results.
0 -
Thanks for letting everybody know!
0 -
Matlab polarpolt requires the angle data be in radians. polarplot(deg2rad(Phideg), FarField1dBV) will give you the correct result in Matlab.
0