Path: Common/Control
% Compute the frequency response given a numerator/denominator pair. y(s) = num(s)*u(s)/den(s) G(s) = num(s)/den(s) This is a multi-output, single-input system. Each column will give the value for G(s) for that frequency. -------------------------------------------------------------------------- Form: [g,nu,w] = GND(num,den,w) -------------------------------------------------------------------------- ------ Inputs ------ num Transfer function numerator(s) den Transfer function denomenator(s) w Frequency vector ------- Outputs ------- g Frequency response matrix nu Number of inputs w Frequency vector -------------------------------------------------------------------------- References: Laub, A., "Efficient Multivariable Frequency Response Computations," IEEE Transactions on Automatic Control, Vol. AC-26, No. 2, April 1981, pp. 407-408. Maciejowski, J. M., Multivariable Feedback Design, Addison-Wesley, Reading, MA, 1989, pp. 368-370. --------------------------------------------------------------------------
Common: Control/GSS Common: Control/ND2SS Common: Control/WPZ
Back to the Common Module page