Owning Class: linalgebra
Requires: MathScript RT Module
c = funmx(a, fnct)
Legacy Name: funm
Computes functions of square matrices. You must specify the function in a string that represents a valid function of one variable. If a has multiple eigenvalues, LabVIEW does not return valid results.
| Name | Description |
|---|---|
| a | Specifies a real or complex square matrix. |
| fnct | Specifies a string that represents a valid function of one variable. |
| Name | Description |
|---|---|
| c | Returns a real or complex square matrix of the same size as a. |
sin(x) + cos(x) and sqrt(cosh(y)) are valid functions of one variable, but sin(x) + cos(y) is not.
This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.
A = rand(100);
C = funmx(A, 'cos(sin(z))');