Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

funmx (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.

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