how do you do a routh hurwitz table in matlab?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Dez. 2019

1 Stimme

2 Kommentare

Matt Cooke
Matt Cooke am 24 Mai 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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Mpho Mugodi
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

ncol = size(YourRouthTable, 2);
fmt = repmat({'%10.5f '}, 1, ncol);
fmt{end} = '%10.5f\n';
fmt = [fmt{:}];
fprintf(fmt, YourRouthTable.'); %transpose is important

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by