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

polyvalmx (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 = polyvalmx(a, b)

Legacy Name: polyvalm

Description

Evaluates a polynomial at a matrix value you specify.

Examples

Inputs

Name Description
a Specifies the coefficients in descending order of power of the polynomial you want to evaluate. a is a vector.
b Specifies the value at which you want to evaluate a. b is a square matrix.

Outputs

Name Description
c Returns the evaluated values of a according to the following equation: c = a[1]*b^n+ ... +a[n]*b+a[n+1]*I, where n is the degree of a. c is a matrix.

Examples

A = [1, 1, 1]
B = [1, 2; 3, 4]
C = polyvalmx(A, B)

Related Topics

polyval


 

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