control.gangof4_response
- control.gangof4_response(P, C, omega=None, Hz=False)[source]
Compute the response of the “Gang of 4” transfer functions for a system.
Generates a 2x2 frequency response for the “Gang of 4” sensitivity functions [T, PS; CS, S].
- Parameters
- Returns
response – Frequency response with inputs ‘r’ and ‘d’ and outputs ‘y’, and ‘u’ representing the 2x2 matrix of transfer functions in the Gang of 4.
- Return type
Examples
>>> P = ct.tf([1], [1, 1]) >>> C = ct.tf([2], [1]) >>> response = ct.gangof4_response(P, C) >>> lines = response.plot()