tfchk: Transfer function check.

Description Usage Arguments Details Value Examples

Description

tfchk verifies the structure of a transfer function

Usage

1
tfchk(num, den)

Arguments

num

A numeric vector

den

A numeric vector

Details

This is a utility function that is always invoked by other functions to verify the structure of num, den. Where num is the numerator and den is the denominator of the transfer function. If the transfer function is not proper, it returns a list with length(num) = length(den).

Value

Returns a list with a proper transfer function or with warnings when not proper.

Examples

1
tf1 <- tfchk(1, c(1,2,1))

control documentation built on May 1, 2019, 7:33 p.m.