Stability Analysis

Hard MATLAB Control
Solve this problem

Perform a stability analysis of a closed-loop system in MATLAB. Given transfer function numerator and denominator, compute poles and determine stability.

Constraints

  • Function prototype: stable = is_stable(num,den)
  • Use tf and pole functions.
  • Stable if all poles have negative real part.
  • Return logical true/false.
Starter codeMATLAB
1function st = is_stable(num,den)2% TODO3end