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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linear systems class.

Syntax

c = polyscale(a, b)

Description

Scales the roots of a polynomial.

Details

Examples

Inputs

Name Description
a Specifies a polynomial.
b Specifies the scaling rate.

Outputs

Name Description
c Returns the scaled polynomial.

Details

In c = polyscale(a, b), LabVIEW replaces the polynomial a[1]*z^n+...+a[n-1]*z+a[n] with the new polynomial c[1]*z^n+...+c[n-1]*z+c[n], where c[1] = a[1], ..., c[n-1] = a[n-1]*b^(n-2), c[n] = a[n]*b^(n-1).

Examples

a = rand(1, 6);
b = polyscale(a, 2);
ra = roots(a);
rb = roots(b);
plot(real(ra), imag(ra), 'ro', real(rb), imag(rb), 'b*')

Related Topics

poly
polystab
roots


Resources


 

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