how do you do a routh hurwitz table in matlab?
89 views (last 30 days)
Show older comments
J Pade
on 29 Dec 2019
Commented: Emmanouil Tzorakoleftherakis
on 17 Jun 2024
routh table for K(s+2)/s^3+1.5s^2+16s-8.5 in matlab
0 Comments
Accepted Answer
Walter Roberson
on 29 Dec 2019
2 Comments
Matt Cooke
on 24 May 2020
following this method it brings up an error stating 'Index in position 1 is invalid. Array indices must be positive integers or logical values.' how can this be solved?
Emmanouil Tzorakoleftherakis
on 17 Jun 2024
Multiple other FX submissions you can choose from:
More Answers (1)
Mpho Mugodi
on 7 May 2020
I am doing routh hurwitz table in matlab i want to adjust the result to 5 decimal values?
using fprintf('\n Routh-Hurwitz Table:\n')
1 Comment
Walter Roberson
on 7 May 2020
ncol = size(YourRouthTable, 2);
fmt = repmat({'%10.5f '}, 1, ncol);
fmt{end} = '%10.5f\n';
fmt = [fmt{:}];
fprintf(fmt, YourRouthTable.'); %transpose is important
See Also
Categories
Find more on Stability Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!