Impedance Measurement Tool
Compute impedance versus frequency of Impedance Measurement blocks in model
Description
The Impedance Measurement Tool app uses the power_zmeter
function to compute the impedance versus frequency of the Impedance Measurement blocks in your model.
Open the Impedance Measurement Tool App
MATLAB® command prompt: Enter
powerImpedance(sys)
, wheresys
is a string scalar or character vector that is the name of a model.powergui block: Under Tools, click Impedance Measurement.
Parameters
Model
— Name of model
no default
Name of the model under analysis. Enter the name of a model to analyze, then click Update.
Update
— Display or update
button
Display or update the impedance versus frequency measurement for the model specified in the Model parameter and, if Save data to workspace is selected, save the data to your workspace.
Impedance Measurement blocks
— Lists Impedance Measurement blocks
no default
Lists the Impedance Measurement blocks in the model. Select the blocks for which you want to obtain the frequency response. Press Ctrl to select several impedances to display on the same plot.
Impedance Axis
— Choose logarithmic or linear scale
Logarithmic (default) | Linear
Choose logarithmic or linear scale for the vertical impedance scale.
Frequency Axis
— Choose logarithmic or linear scale
Logarithmic (default) | Linear
Choose logarithmic or linear scale for the horizontal frequency scales.
Range
— Frequency vector
[1:2:500] (default) | vector
Frequency vector, in hertz. You can specify any valid MATLAB expression that defines a vector of frequencies; for example,
0:2:1000
or linspace(0,1000,500)
.
Save data to workspace
— Save data in variable
off (default) | on
Select to save the data in a variable in the workspace. The name of the variable is defined by the Variable name parameter. The complex impedances are saved in an array with the corresponding frequencies. Frequency is saved in column 1 and impedances are saved in the next columns.
Variable name
— Name of variable
Zdata (default) | string
Name of the variable to save in the workspace.
Dependencies
To enable this parameter, select Save data to workspace.
Version History
Introduced in R2021b