funmx (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: linalgebra

Requires: MathScript RT Module

Syntax

c = funmx(a, fnct)

Legacy Name: funm

Description

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.

Details

Examples

Inputs

Name Description
a Specifies a real or complex square matrix.
fnct Specifies a string that represents a valid function of one variable.

Outputs

Name Description
c Returns a real or complex square matrix of the same size as a.

Details

sin(x) + cos(x) and sqrt(cosh(y)) are valid functions of one variable, but sin(x) + cos(y) is not.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A = rand(100);
C = funmx(A, 'cos(sin(z))');

Related Topics

expmx
logmx
rand
sqrtmx

文章是否对您有帮助?

没有帮助