add
Add additional data to existing Smith chart
Description
Examples
Add S-Parameter Data to Existing Smith Plot
Plot the reflection coefficients of a dipole antenna.
Create a strip dipole antenna on the Y-Z plane. Calculate the complex s-parameters of the dipole antenna from 60 MHz to 90 MHz, with an interval of 150 kHz.
Plot S11 on a Smith plot for a reference impedance of 50 ohm.
d = dipole;
freq = linspace(60e6, 90e6, 200);
s_50 = sparameters(d, freq,50);
hg = smithplot(s_50,[1,1]);
hg.LegendLabels = {"S11 at 50#ohm"};
Find S11 for a new impedance of 75 ohm. Add new S11 to the existing Smith plot.
s_75 = sparameters(d, freq, 75); gamma = rfparam(s_75,1,1); add(hg, gamma); hg.LegendLabels = {"S11 at 50#ohm","S11 at 75#ohm"};
Input Arguments
plot
— Smith chart
function handle
Smith chart handle, specified as a function handle. If the handle of the
Smith chart is not retained during creation, it is obtained by using the
command p = smithplot('gco')
.
Data Types: double
data
— Input data
complex vector | complex matrix
Input data, specified as a complex vector or complex matrix.
For a matrix D, the columns of D are independent data sets. For N-by-D arrays, dimensions 2 and greater are independent data sets.
Data Types: double
Complex Number Support: Yes
frequency
— Frequency data
real vector
Frequency data, specified as a real vector.
Data Types: double
Version History
Introduced in R2017b
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)