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

sos_to_tf (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: linear systems

Requires: MathScript RT Module

Syntax

[b, a] = sos_to_tf(s)

[b, a] = sos_to_tf(s, g)

Legacy Name: sos2tf

Description

Converts a second-order section filter to a transfer function.

Examples

Inputs

Name Description
s Specifies a second-order section filter. s is an L-by-6 matrix. Each row of s contains the coefficients of one section as [b0 b1 b2 1 a1 a2].
g Specifies the gain of the filter. g is a real number.

Outputs

Name Description
b Returns the numerator of the filter. b is a real vector.
a Returns the denominator of the filter. a is a real vector.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

s = [1 1 1 1 2 1; 1 2 1 1 1 1];
g = 9;
[b, a] = sos_to_tf(s, g)

Related Topics

sos_to_ss
sos_to_zpk
tf_to_sos


 

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