Documentation /  Analog Insydes /  Reference Manual /  Circuit and DAEObject Manipulation /

GetEquationsGetVariables

3.6.6 GetMatrix

Command structure of GetMatrix.

Given a DAEObject dae, GetMatrix returns the matrix A of the linear equation system stored in the object.

Please note that GetMatrix is only valid for AC DAEObjects.

See also: GetEquations, GetVariables, GetRHS, GetParameters, GetDAEOptions, GetDesignPoint.

Examples

Load Analog Insydes.

In[1]:= <<AnalogInsydes`

Define a simple voltage divider netlist.

In[2]:= net =
Netlist[
{V0, {1, 0}, V0},
{R1, {1, 2}, R1},
{R2, {2, 0}, R2}
]

Out[2]=

Set up AC DAE system.

In[3]:= dae = CircuitEquations[net]

Out[3]=

Return matrix A.

In[4]:= GetMatrix[dae] // MatrixForm

Out[4]//MatrixForm=

GetEquationsGetVariables