Closed-Loop Steady-State Output
~6 mincode completion
Implement steady_state_output(g, K, r) returning the array [y, e].
Where this shows up
~6 min
••••••••••••
6 employers weight this skill
4 autonomy companies, 2 defense companies. Top match scores 93.
Python
import numpy as np
def steady_state_output(g, K, r):
"""
Settled output and error of a proportional loop around a static gain.
Args:
g: plant gain (output per unit of command)
K: proportional controller gain
r: reference (target) value
Returns:
array [y, e]: the settled output and the steady-state error r - y
"""
# YOUR CODE HERE
pass