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
Loading docs…

The AI Mentor needs an account

It reads your code and the failing tests and nudges you toward the fix without handing you the answer. Free accounts get it on every problem you're working on today.