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
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 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)