Example for "tf" class:
>> s = tf('s');
>> W = 1/(s^4 + 2*s^3 + 3*s^2 + 4*s + 5);
>> [hwz,truefalse] = hurwitz(W,'tf')
Sistem je nestabilan.
hwz =
2 4 0 0
1 3 5 0
0 2 4 0
0 1 3 5
truefalse =
logical
0
Example for "sym" class:
>> syms s
>> W = 1/(s^2 + 2*s + 1);
>> [hwz,truefalse] = hurwitz(W,'sym')
Sistem je stabilan.
hwz =
2 0
1 1
truefalse =
logical
1
aleksa markovic (2021). Hurwitz stability criterion (https://www.mathworks.com/matlabcentral/fileexchange/68859-hurwitz-stability-criterion), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.