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