how do you do a routh hurwitz table in matlab?
Ältere Kommentare anzeigen
routh table for K(s+2)/s^3+1.5s^2+16s-8.5 in matlab
Akzeptierte Antwort
Weitere Antworten (1)
Mpho Mugodi
am 7 Mai 2020
0 Stimmen
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 Kommentar
Walter Roberson
am 7 Mai 2020
ncol = size(YourRouthTable, 2);
fmt = repmat({'%10.5f '}, 1, ncol);
fmt{end} = '%10.5f\n';
fmt = [fmt{:}];
fprintf(fmt, YourRouthTable.'); %transpose is important
Kategorien
Mehr zu Stability Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!