tfchk function

Transfer function check.

Transfer function check.

tfchk verifies the structure of a transfer function

tfchk(num, den)

Arguments

  • num: A numeric vector
  • den: A numeric vector

Returns

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

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).

Examples

tf1 <- tfchk(1, c(1,2,1))
  • Maintainer: Ben C. Ubah
  • License: GPL-2
  • Last published: 2017-12-12

Useful links