add
Add additional data to existing Smith chart
Description
Examples
Add S-Parameter Data to Existing Smith Plot
Read S-parameter data.
amp = read(rfckt.amplifier,'default.s2p');
Sa = sparameters(amp);
figure
smithplot(Sa,[1,1])
Plot S-parameter object with new impedance of Z0 = 75 Ohms.
Sa = sparameters(Sa,75); S11 = rfparam(Sa,1,1); Freq = Sa.Frequencies; s = smithplot('gco'); add(s, Freq, S11); s.LegendLabels = {'S11 at 50 Ohms', 'S11 at 75 Ohms'};
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
Apri esempio
Si dispone di una versione modificata di questo esempio. Desideri aprire questo esempio con le tue modifiche?
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi 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)