freqresp function

Low level frequency response function

Low level frequency response function

This function obtains the low level frequency response of a system.

freqresp(sys, w = seq(0, 100, length = 10000), iu = 1)

Arguments

  • sys: An LTI system of tf, ss and zpk class
  • w: a vector of frequency points
  • iu: For calls to freqresp, iu is a number specifying an input for a MIMO state-space system. If the system has 3 inputs, then iu would be set to 1, set to 2 and then to 3 to obtain the step response from input 1, 2, and 3 to the outputs

Returns

freqresp(sys, w) returns a vector of frequencies for sys in complex form

Examples

H <- freqresp(ssdata(tf(c(1,1), c(1,2,1))), (seq(0, 100, length = 10000))) H <- freqresp(tf(c(1,1), c(1,2,1)), seq(0, 100, length = 10000))

See Also

bode nyquist

  • Maintainer: Ben C. Ubah
  • License: GPL-2
  • Last published: 2017-12-12

Useful links