| |
About this package
This package enables drawing of Smith charts, admittance charts, and immittance charts.
Functions
- SmithPlot[{v11, v12, ...}, {v21, v22, ...}]
Plots a Smith chart.
- AdmittancePlot[{v11, v12, ...}, {v21, v22, ...}]
Plots an admittance chart.
- ImmittancePlot[{v11, v12, ...}, {v21, v22, ...}]
Plots an immittance chart.
- SmithChart[{v11, v12, ...}, {v21, v22, ...}]
Generates a graphic primitive of a Smith chart.
- AdmittanceChart[{v11, v12, ...}, {v21, v22, ...}]
Generates a graphic primitive of an admittance chart.
- ImmittanceChart[{v11, v12, ...}, {v21, v22, ...}]
Generates a graphic primitive of an immittance chart.
Examples
Loading the package
<<"(path to the appropriate directory)/Smith.m"
When you have put the file "Smith.m" under, say, c:\math\packages, the following command will do.
<<"c:/math/packages/Smith.m"
Drawing of a Smith chart
When you want to visualize iso-resistance circles of values 0, 0.5, 1, 2, and 4, iso-reactance circles of values -4, -2, -1, -0.5, 0, 0.5, 1, 2, and 4, type as follows.
nres = {0, 0.5, 1, 2, 4};
nrea = {-4, -2, -1, -0.5, 0, 0.5, 1, 2, 4};
SmithPlot[nres, nrea];
Then, what you get is as follows:
Admittance charts as well as immittance charts can be obtained in a similar way, as follows.
AdmittancePlot[{0, 0.5, 1, 2, 4}, {-4, -2, -1, -0.5, 0, 0.5, 1, 2, 4}];
ImmittancePlot[{0, 0.5, 1, 2, 4}, {-4, -2, -1, -0.5, 0, 0.5, 1, 2, 4}];
Version information
Obtain "Smith.m"(Version 1.0)
|
|