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

funm (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linalgebra class.

Syntax

c = funm(fnct, a)

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
fnct Specifies a string that represents a valid function of one variable.
a Specifies a real or complex square matrix.

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 = funm(A, 'cos(sin(z))');

Related Topics

expm
logm
rand
sqrtm


Resources


 

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