Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Need smith chart in matlab

Status
Not open for further replies.

eng

Junior Member level 1
Joined
Mar 10, 2003
Messages
16
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
194
matlab smith chart

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.
 

Element_115

Advanced Member level 2
Joined
Mar 23, 2002
Messages
509
Helped
72
Reputation
144
Reaction score
42
Trophy points
1,308
Activity points
3,767
smith chart matlab

Look in "Beginners and Students" There is a "RF LNA Design"
that does some of the things you are looking for.
Cheers
 

marcomdd

Full Member level 3
Joined
Jan 11, 2003
Messages
155
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Location
Rome
Activity points
1,494
plot smith chart in matlab

This is a Matlab function to draw Smith Chart.
 

g86

Full Member level 4
Joined
Jan 21, 2003
Messages
212
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Location
On top of antenna :))
Activity points
2,232
smith chart using 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.

:!: :idea: :?:


[% 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@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 said:
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.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top