Adams Basic Package > Adams View > View Command Language > xy_plots > xy_plots bode phase_plot matrix_input

xy_plots bode phase_plot matrix_input

Allows you to define a Bode plot (phase, magnitude, or both, depending on the command) using matrices.
A data element matrix lets you input a two-dimensional array of numerical values. You use the matrix primarily to support other elements such as curves, linear state equations, multi-component forces, and more. You can assign the entries in a matrix directly or specify the name of a data file from which Adams View should read the values. You can also use the results of a simulation as input to a matrix by referencing result set components.

Format:

 
xy_plots bode phase_plot matrix_input
plot_name =
existing plot
page_name =
existing page
a =
existing adams matrix
b =
existing adams matrix
c =
existing adams matrix
d =
existing adams matrix
inputs =
integer
outputs =
integer
start_frequency =
real
end_frequency =
real
frequency_step =
real
log_samples =
integer
samples =
integer

Description:

 
Parameter
Value Type
Description
plot_name
Existing Plot Name
Specifies the name of the Bode phase plot to be updated.
page_name
Existing Page Name
Specifies the name of the Bode page that the phase plot is on.
a, b, c, d
Existing Adams Matrix
Specifies the A through D matrices that define the state matrix.
inputs
Integer
Defines the input results you want to use for Bode-plot calculations. If you do not select any inputs, Adams PostProcessor computes all combinations.
outputs
Integer
Defines the output results you want to use for Bode-plot calculations. If you do not select any outputs, Adams PostProcessor computes all combinations.
start_frequency and end_frequency
Real
Defines the frequency sweep by entering the starting and ending frequencies for the Bode plot and selecting the frequency step, which you define using one of the next three parameters.
frequency_step
Real
Specifies the interval between frequencies.
log_samples
Integer
Specifies the number of log-spaced frequencies.
samples
Integer
Specifies the number of linear-spaced frequencies.