| Author |
Message |
eng
Joined: 10 Mar 2003 Posts: 17
|
13 Mar 2003 3:20 Need smith chart in matlab |
|
|
|
Hi all,
I wanna code a matlab program that calculates maximum gain for a given transistor S parameters and draws constant gain circles for a microwave amplifier.
eg. for constant gain circle: GA=Gamax-1.5dB .
Then after selecting some gammaS values on that circle, for each gammaS I'm gonna determine gammaL that lie on constant (VSWR)out=1.7 and draw this constant (VSWR)out circles.
I wanna draw circles on the smith chart in matlab.
So I need smith chart matlab file. (a file compatible with matlab v 6.1)
How can I find that?
Any help will be highly appreciated.
Thanks in advance.
|
|
| Back to top |
|
 |
Element_115
Joined: 23 Mar 2002 Posts: 313 Helped: 21
|
13 Mar 2003 4:48 |
|
|
|
Look in "Beginners and Students" There is a "RF LNA Design"
that does some of the things you are looking for.
Cheers
|
|
| Back to top |
|
 |
Kit-the-great
Joined: 30 Mar 2002 Posts: 174 Helped: 1 Location: Russia
|
13 Mar 2003 7:21 |
|
|
|
See this links:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=324&objectType=file
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=1923&objectType=file
With responce,
Kit-the-great
|
|
| Back to top |
|
 |
marcomdd
Joined: 11 Jan 2003 Posts: 158 Helped: 3 Location: Rome
|
13 Mar 2003 8:30 |
|
|
|
This is a Matlab function to draw Smith Chart.
|
|
| Back to top |
|
 |
g86
Joined: 21 Jan 2003 Posts: 208 Helped: 4 Location: On top of antenna :))
|
13 Mar 2003 16:14 Re: Need smith chart in matlab |
|
|
|
This is a smith function:
http://www.ibiblio.org/pub/academic/physics/Electro-mag/smith.m
Also available in the jpl nasa but right now not connecting..
This is a good tool for drawing impedance locus but I am not sure it can be used for gain circle or not.
[% SMITH Smith Chart.
% SMITH(Zl,Zo) draws a Smith chart of the Complex impedances
% in Zl, normalized to the real valued characteristic impedance Zo.
% Multiple plots are obtained in different colours etc if Zl
% is a matrix, ie its columns contain sets of complex values.
% Smith may be subplotted with fair deal of success. (Text size
% doesn't change and is a bit messy with subplot (221) -- but
% liveable! ) Obeys all usual conventions.
%
% Originally based on some Matlab code by
% Antony-Dean McKechnie & Neville Wilken in their final year project
% of their BSc(Eng) at Wits. (Which in turn was based on some Pascal
% code of mine
% But rather heavily rewritten by
% Alan Robert Clark, PrEng.
% Dept Elec Eng
% P.O.Wits
% 2050 South Africa
% clark(at)odie.wits.ee.ac.za
% 15 December 1992.
% Added: subplot capability.
% multiple plot capability (re-defaulted).
% 'Polar'ized axes
% combined multi stage process into one simple function call.
% Removed: non standard calling conventions.
% Bugs, bugs, bugs Probably should fall under Added too!]
| eng wrote: |
Hi all,
I wanna code a matlab program that calculates maximum gain for a given transistor S parameters and draws constant gain circles for a microwave amplifier.
eg. for constant gain circle: GA=Gamax-1.5dB .
Then after selecting some gammaS values on that circle, for each gammaS I'm gonna determine gammaL that lie on constant (VSWR)out=1.7 and draw this constant (VSWR)out circles.
I wanna draw circles on the smith chart in matlab.
So I need smith chart matlab file. (a file compatible with matlab v 6.1)
How can I find that?
Any help will be highly appreciated.
Thanks in advance. |
|
|
| Back to top |
|
 |