tfchk {control}R Documentation

Transfer function check.

Description

tfchk verifies the structure of a transfer function

Usage

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

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


[Package control version 0.2.5 Index]