---
+ Post New Thread
Results 1 to 18 of 18
  1. #1
    Full Member level 3
    Points: 15,364, Level: 29
    si14's Avatar
    Join Date
    Sep 2006
    Location
    North America
    Posts
    174
    Helped
    716 / 716
    Points
    15,364
    Level
    29

    radiation pattern matlab

    Hi all:

    I want to know how to plot radiation pattern in dB (Logarithmic) in MATLAB?

    Thanks.

    •   Alt11th April 2009, 09:13

      advertising

        
       

  2. #2
    Full Member level 4
    Points: 2,690, Level: 12

    Join Date
    Apr 2008
    Posts
    206
    Helped
    40 / 40
    Points
    2,690
    Level
    12

    matlab radiation pattern

    1) which version of MatLab
    2) What is your INPUTS ??



  3. #3
    Full Member level 3
    Points: 15,364, Level: 29
    si14's Avatar
    Join Date
    Sep 2006
    Location
    North America
    Posts
    174
    Helped
    716 / 716
    Points
    15,364
    Level
    29

    radiation pattern in matlab

    Hi Kohi_boy:

    The version is 2006Ra.
    My inputs are angles(rad) and for example Gain in dB or Mag. I export them from HFSS.


    1 members found this post helpful.

  4. #4
    Full Member level 3
    Points: 2,707, Level: 12
    prafuldeo's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    170
    Helped
    34 / 34
    Points
    2,707
    Level
    12

    3d polar plot matlab

    Hello masud_809,

    Plotting radiation patterns in matlab is simple but little tricky. I use normalised radiation patterns i.e. max gain is '0' and then it decreases so the scale look likes 0,-5,-10 ...-40(dB) . Other important thing to keep in mind is the POLAR function in matlab do not plot the negative gains and returns you with an error so you have to keep everything positive or zero values.
    So to plot the normalised radiation patterns :

    1. open your data in excel sheet.

    2. look for the max. gain value for particular angle, say for example its 6 dB. Now to make a plot with scale 0 to -40 dB which is most common, add 40-6 i.e 34 to all the gain. This make the highest gain of your result which is 6 dB in our example to 40 dB and other decreases accordingly.

    3. Now look for any negative values in gain column and replace it to 'Zero'. Once done now you can plot this normalised radiation pattern data using POLAR command and since you already have angles in radians so just directly use that.
    Once you plot the pattern just change the scale in matlab plot as 0 to -40.

    Hope this solve your query.
    Thanks & Regards
    Praful


    2 members found this post helpful.

  5. #5
    Full Member level 3
    Points: 15,364, Level: 29
    si14's Avatar
    Join Date
    Sep 2006
    Location
    North America
    Posts
    174
    Helped
    716 / 716
    Points
    15,364
    Level
    29

    plot radiation pattern matlab

    Dear prafuldeo:

    Thank you very much for your description! I appreciate your time. I will check it out today.

    Cheers.



  6. #6
    Full Member level 3
    Points: 2,707, Level: 12
    prafuldeo's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    170
    Helped
    34 / 34
    Points
    2,707
    Level
    12

    matlab plot db

    Hello masud_809,
    Give it a try and let me know how did it go.

    Cheers


    1 members found this post helpful.

    •   Alt13th April 2009, 21:06

      advertising

        
       

  7. #7
    Member level 5
    Points: 1,770, Level: 9

    Join Date
    Oct 2008
    Posts
    83
    Helped
    17 / 17
    Points
    1,770
    Level
    9

    matlab plot

    by far the easiest way is to download the m-file 'mmpolar'.

    It automatically generates polar radiation plots that are of the style we are all used to seeing.

    http://blogs.mathworks.com/pick/2005...le-polar-plot/


    2 members found this post helpful.

  8. #8
    Member level 1
    Points: 1,639, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jun 2006
    Location
    Higashiosaka-shi, Osaka, Japan, Japan
    Posts
    36
    Helped
    4 / 4
    Points
    1,639
    Level
    9

    polar plot matlab



    2 members found this post helpful.

    •   Alt14th April 2009, 05:41

      advertising

        
       

  9. #9
    Full Member level 3
    Points: 2,707, Level: 12
    prafuldeo's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    170
    Helped
    34 / 34
    Points
    2,707
    Level
    12

    mmpolar download

    I've tried mmpolar function, seems it doesn't support the hold on command so multiple plots in same figure is not possible.



  10. #10
    mns
    mns is offline
    Junior Member level 3
    Points: 1,638, Level: 9
    Achievements:
    7 years registered

    Join Date
    Apr 2007
    Location
    India
    Posts
    30
    Helped
    7 / 7
    Points
    1,638
    Level
    9

    how to plot radiation pattern

    hi everybody,
    can anybody expalin how to make 3D polar radiation pattern in matlab?
    I am using UV plot where with mesh(x,y,z) command
    x=sin(theta)cos(phi)
    y=sin(theta)sin(phi)
    ans
    z=calculated gain
    all are NxN square matrix
    But I want to plot in polar form
    Thanks



  11. #11
    Full Member level 3
    Points: 2,707, Level: 12
    prafuldeo's Avatar
    Join Date
    Mar 2008
    Location
    UK
    Posts
    170
    Helped
    34 / 34
    Points
    2,707
    Level
    12

    matlab polar db

    Hi mns,
    I've never tried 3D polar plots in matlab but seems an interesting exercise. I'll try and let you know.

    Regards



  12. #12
    Member level 1
    Points: 1,747, Level: 9

    Join Date
    Mar 2009
    Location
    Egypt
    Posts
    37
    Helped
    16 / 16
    Points
    1,747
    Level
    9

    how to plot in matlab

    Dear all,
    I think you can use sisotool function to draw it.
    With my best wishes.



  13. #13
    Newbie level 2
    Points: 646, Level: 5

    Join Date
    Jan 2010
    Location
    nellore
    Posts
    2
    Helped
    0 / 0
    Points
    646
    Level
    5

    Re: how to plot radiation pattern

    Quote Originally Posted by si14
    Hi all:

    I want to know how to plot radiation pattern in dB (Logarithmic) in MATLAB?

    Thanks.
    Added after 4 minutes:

    hai mns..

    pls give me idea about taking theta and phi values in matlab as iam doing project on plotting antenna radiation pattern using matlab for all type of antennas...
    hope i will get reply soon


    thanku



  14. #14
    Full Member level 3
    Points: 15,364, Level: 29
    si14's Avatar
    Join Date
    Sep 2006
    Location
    North America
    Posts
    174
    Helped
    716 / 716
    Points
    15,364
    Level
    29

    Re: how to plot radiation pattern

    Quote Originally Posted by nagasravanthi
    hai mns..
    pls give me idea about taking theta and phi values in matlab as iam doing project on plotting antenna radiation pattern using matlab for all type of antennas...
    hope i will get reply soon
    thanku
    Hi:

    What do you mean by "taking theta and phi values"?
    For this post, as you can see, I used MATLAB to re-plot a radiation pattern which I generated with HFSS.
    So my angle data were ready and I just needed a function to SHOW that data in 2d/3d.
    Regards



  15. #15
    Newbie level 2
    Points: 646, Level: 5

    Join Date
    Jan 2010
    Location
    nellore
    Posts
    2
    Helped
    0 / 0
    Points
    646
    Level
    5

    Re: radiation pattern matlab

    thanks for ur reply.....

    can u give me some idea to how to plot radiation pattern for rectangular aperture with a=3lambda,b=2lambda in matlab....hope for the reply...
    thnku



  16. #16
    Full Member level 3
    Points: 15,364, Level: 29
    si14's Avatar
    Join Date
    Sep 2006
    Location
    North America
    Posts
    174
    Helped
    716 / 716
    Points
    15,364
    Level
    29

    Re: radiation pattern matlab

    Quote Originally Posted by nagasravanthi
    thanks for ur reply.....
    can u give me some idea to how to plot radiation pattern for rectangular aperture with a=3lambda,b=2lambda in matlab....hope for the reply...
    thnku
    In order to plot the radiation pattern, you need to have the electric(magnetic) fields. There are some classic shapes, for example rectangular apertures with classic radiation patterns.
    You can find the radiation pattern for these apertures in any antenna text books. My suggestion is Balanis.
    Cheers



  17. #17
    Newbie level 1
    Points: 409, Level: 4

    Join Date
    Aug 2010
    Location
    India
    Posts
    1
    Helped
    0 / 0
    Points
    409
    Level
    4

    Re: How to plot radiation pattern in MATLAB (in dB)

    hi all,
    can anyone say me the commands for plotting the radiation pattern for patch antennas clearly



  18. #18
    Junior Member level 1
    Points: 796, Level: 6

    Join Date
    Jul 2010
    Location
    uk
    Posts
    17
    Helped
    0 / 0
    Points
    796
    Level
    6

    Re: How to plot radiation pattern in MATLAB (in dB)

    Hello,

    how can i plot radiation pattern of an antenna in Matlab?

    thanks



+ Post New Thread
Please login