Solves an n th order, homogeneous linear differential equation with solutions in symbolic form.
Vector of coefficients of the different derivatives of a function x(t), starting with the coefficient of the lowest order term. The node assumes the coefficient of the highest order derivative to be equal to 1.
Vector of the initial values of the variables.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Symbolic solution of the differential equation.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Consider the n-order linear homogeneous differential equation:
with the following initial conditions:
where
To solve the differential equation, let , leading to:
where are arbitrary constants and can be determined by the initial condition (t = 0).
When t = 0,
To solve the differential equation x'' - 3x' + 2x = 0 with the initial conditions of x(0) = 2 and x'(0) = 3, enter A = [2, -3] and initial values = [2, 3].
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application