Continue to Site

# Need smith chart in matlab

Status
Not open for further replies.

#### eng

##### Junior Member level 1
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.

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

casikoenig

### casikoenig

Points: 2
plot smith chart in matlab

This is a Matlab function to draw Smith Chart.

smith chart using matlab

This is a smith function:

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.
% 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.