Path: Common/Control
% Compute the frequency response of the system given a, b, c and d. . x = ax + bu y = cx + du for the input vector iu, and output vector iy. If no output arguments are given it will automatically display Bode plots for all channels. If only 1 output is requested, the complex values will be output. -------------------------------------------------------------------------- Form: [mag, phase, w, io] = FResp( a, b, c, d, iu, iy, w, uPhase, pType ) [mag, phase, w, io] = FResp( num, den, w, uPhase, pType ) -------------------------------------------------------------------------- ------ Inputs ------ a Plant matrix b Input matrix c Measurement matrix d Input feedthrough matrix iu Inputs ( = 0, or leave out for all) iy Outputs ( = 0, or leave out for all) w (1,:) Frequency vector uPhase (1,:) Unwrap phase = 'wrap' to wrap it within 180 deg pType (1,:) 'bode' or 'nichols' ------- Outputs ------- mag Magnitude vector phase Phase angle vector (deg) w (1,:) Frequencies computed io Input/output vector per plot [input,output;...] -------------------------------------------------------------------------- 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: CommonData/SwooshWatermark Common: Control/GND Common: Control/GSS Common: Control/ND2SS Common: Control/S2Damp Common: Control/SS2ND Common: Control/SizeABCD Common: Control/TrnsZero Common: Control/WPZ Common: Control/WReson Common: Control/ZFresp Common: General/CellToMat Common: General/MatToCell Common: General/Watermark Common: Graphics/LogLimit Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TextS Math: Linear/ColCompR Math: Linear/DelLZ Math: Linear/IsZero Math: Linear/RowCompU
Back to the Common Module page