Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

plot 2D radiation pattern

Status
Not open for further replies.

math_daoud

Junior Member level 1
Joined
May 20, 2016
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
90
Dear All
i have data from an expremental mesure of a patch antenna (txt file).ther are lots informations in this file, please how can i plot 2D radiation pattern in matlab or origin.
Thank you
 
Last edited:

sree479

Member level 2
Joined
Jul 29, 2014
Messages
45
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
nagpur
Activity points
1,538
Dear math,

Just convert the angle information from degrees to radians. then plot it in matlab using polar plot command. you will get the desired 2D Radiation pattern plot.
 

math_daoud

Junior Member level 1
Joined
May 20, 2016
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
90
Dear sree479
thanks for your answer
but, I do not know how to do this, as I said there is a lot of information in this file .
here is a part of the txt file
can you help me?
 

hagster

Member level 4
Joined
Feb 18, 2015
Messages
71
Helped
14
Reputation
28
Reaction score
15
Trophy points
8
Activity points
465
Or use Octave as a free alternative to matlab. It runs most matlab scripts without modification and there is now a Windows build too.
 

membran

Newbie level 6
Joined
Sep 25, 2015
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
144
Matlab provides a lot of functions to accomplish the task you're asking about. I would use the function "textread()", where you can clearly specify how the data in your file is arranged. It then gets read into variables for further processing. You may find out more about this function by typing "doc textread" into matlab or looking it up on the internet. After that, just use a plot function, e.g. "polar", to plot the pattern.

M
 

Nano_o

Member level 2
Joined
Mar 26, 2014
Messages
47
Helped
3
Reputation
6
Reaction score
3
Trophy points
8
Activity points
325
Dear sree479
thanks for your answer
but, I do not know how to do this, as I said there is a lot of information in this file .
here is a part of the txt file
can you help me?

Hello,
I am unable to see the text file , did you upload it ?
 

sree479

Member level 2
Joined
Jul 29, 2014
Messages
45
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
nagpur
Activity points
1,538
Dear math,

You have to convert the degrees data to radians by multiplying the degrees data with pi/180, then plot the polar plot using radians data and gain data in dB.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top