Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

funmx (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit