Routh stability criteria function

Version 1.0.1 (2.51 KB) by luiseem
With this function you can evaluate numerically the Routh stability test for LTI systems, even special cases.
73 Downloads
Updated 26 Jan 2024

View License

Routh - Hurwitz stability criteria M-Function for linear - time invariant - continuos systems.
The Routh - Hurwitz stability criteria is a common tool for LTI systems control desing, this function evaluates (numerically) the criteria, prompting for user input if any of the two special cases are found: first element of row = 0 or all row = 0.
In the first case prompt will ask for a small value in order to continue, its sugested input values equal or under 0.001. For de second especial case the prompt will only advise you that an special case is found so you can know that an auxiliar polinomial was constructed and its firts derivate was obtained.
General use: [STABLE] = Routh(SYS)
STABLE = 1 if the system is stable, 0 if doesnt
SYS = System to test in "tf" type
Alternative use:
[STABLE] = Routh(DEN)
DEN = polinomial coeficients of the TF denominator.
[STABLE] = Routh(A)
A = Systema Matrix, for time space representation.
The function can also return the criteria table:
[STABLE,TABLE] = Routh(SYS or DEN or A)
Also, discrete time version avilable .
Thanks for using and comments allways wellcome.

Cite As

luiseem (2026). Routh stability criteria function (https://www.mathworks.com/matlabcentral/fileexchange/158351-routh-stability-criteria-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

Only description changes, for ver 1.1 it will be in english

1.0.0