Owning Palette: Linear Algebra VIs
Requires: Base Development System
Computes the exponential of a square Input Matrix. Wire data to the Input Matrix input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
Input Matrix is the real square matrix for which you want the exponential. | |
Matrix Exp returns the exponential of Input Matrix. | |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Input Matrix is the complex square matrix for which you want the exponential. | |
Matrix Exp returns the exponential of Input Matrix. | |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
The following equation defines the exponential of a matrix:
where I is the identity matrix.
This VI uses the Pade Approximation method to calculate the exponential.
The matrix exponential plays a key role in solving linear differential equations. For example, consider the linear differential equation y'(x) = Ay(x), where y(x) equals the following vector:
The solution to this linear differential equation is y(x) = eAxy(0).