Extracting data from FEKO to polar plot in MATLAB

AGirlHasNoName
AGirlHasNoName Altair Community Member
edited October 2020 in Community Q&A

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"?>FEKO_pattern.jpg

<?xml version="1.0" encoding="UTF-8"?>MATLAB_pattern.jpg

Unable to find an attachment - read this blog

Tagged:

Answers

  • Mel
    Mel Altair Community Member
    edited February 2019

    Hi Barman

     

    Since there is nothing wrong in Feko, and you have the ASCII data file, I would suggest you contact Matlab support.

  • oussama1
    oussama1 Altair Community Member
    edited February 2019

    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. 

  • AGirlHasNoName
    AGirlHasNoName Altair Community Member
    edited February 2019

    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.

     

  • Mel
    Mel Altair Community Member
    edited February 2019

    Thanks for letting everybody know!

  • Spencer Sellers_21091
    Spencer Sellers_21091 Altair Community Member
    edited October 2020

    Matlab polarpolt requires the angle data be in radians. polarplot(deg2rad(Phideg), FarField1dBV) will give you the correct result in Matlab.