getEvaluationParameters
Table of evaluation parameters currently used to rank and pass or fail matching network designs
Description
Examples
Matching Network Evaluation Parameters
Show the evaluation parameters of a default matching network.
matchnet = matchingnetwork; c = getEvaluationParameters(matchnet)
c=1×6 table
Parameter Comparison Goal Band Weight Source
_________ __________ ______ ________________________ ______ _____________
{'Gt'} {'>'} {[-3]} {[950000000 1.0500e+09]} {[1]} {'Automatic'}
Matching Network from Dipole Antenna
Create a dipole antenna and create the S-parameters of the antenna. This example requires Antenna Toolbox.
d = dipole('Length', 0.103, 'Width',0.0022); freq = linspace(0.5e9,2.5e9,1001); sd = sparameters(d, freq);
Alternatively, load S-Parameters from the MAT file
% load('sparams_dipole.mat')
Create a matching network from the S-parameters.
n = matchingnetwork('LoadImpedance',sd,'Components',3,... 'LoadedQ',7,'CenterFrequency',2e9);
Get the evaluation parameters of the network.
t = getEvaluationParameters(n)
t=1×6 table
Parameter Comparison Goal Band Weight Source
_________ __________ ______ _________________________ ______ _____________
{'Gt'} {'>'} {[-3]} {[1.8571e+09 2.1429e+09]} {[1]} {'Automatic'}
Plot the reflection coefficient and transducer gain of the matching network circuit 1 , at a frequency range of 1 GHz to 2.5 GHz.
rfplot(n, (1e9:0.001e9:2.5e9),1);
Add a new evaluation parameter to compare the transducer gain to have a cut-off of less than -10 dB. Use a frequency range of 0.5 GHz to 1.5 GHz. Plot the comparisons.
n = addEvaluationParameter(n, 'Gt', '<', -10, [0.5e9 1.5e9], 1); t = getEvaluationParameters(n)
t=2×6 table
Parameter Comparison Goal Band Weight Source
_________ __________ _______ _________________________ ______ __________________
{'Gt'} {'>'} {[ -3]} {[1.8571e+09 2.1429e+09]} {[1]} {'Automatic' }
{'Gt'} {'<'} {[-10]} {[ 500000000 1.5000e+09]} {[1]} {'User-specified'}
rfplot(n, (1e9:0.001e9:2.5e9),1);
Clear evaluation parameters.
n = clearEvaluationParameter(n,1); t = getEvaluationParameters(n)
t=1×6 table
Parameter Comparison Goal Band Weight Source
_________ __________ _______ ________________________ ______ __________________
{'Gt'} {'<'} {[-10]} {[500000000 1.5000e+09]} {[1]} {'User-specified'}
Input Arguments
mnobj
— Matching network
matchingnetwork
object
Matching network, specified as a matchingnetwork
object.
Data Types: char
| string
Output Arguments
c
— Evaluation parameters currently used to rank and pass or fail matching networks
table
Evaluation parameters currently used to rank and pass or fail matching networks, returned as a table.
Version History
Introduced in R2019a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)