Path: Common/Control
% Create a lead or lag. Create a lead or lag with the appropriate phase characteristics in the form tau1 s + 1 K(s) = Kdc ---------- tau2 s + 1 Given the desired maximum phase magnitude (±90°) and frequency -------------------------------------------------------------------------- Form: [a, b, c, d] = LeadLag( wmax, phasemax, Kdc, tSamp, sType ) -------------------------------------------------------------------------- ------ Inputs ------ wmax Frequency for max (rad/sec) phasemax Max phase angle (deg) Kdc DC gain (db) tSamp Sampling period sType State equation type ('Delta' or 'Z') ------- Outputs ------- a Plant matrix b Input matrix c Measurement matrix d Feedthrough matrix --------------------------------------------------------------------------
Common: Control/C2DZOH Common: Control/C2DelZOH Common: Control/FResp Common: Control/ND2SS
Back to the Common Module page