how do you do a routh hurwitz table in matlab?

95 vues (au cours des 30 derniers jours)
J Pade
J Pade le 29 Déc 2019
routh table for K(s+2)/s^3+1.5s^2+16s-8.5 in matlab

Réponse acceptée

Walter Roberson
Walter Roberson le 29 Déc 2019
  2 commentaires
Matt Cooke
Matt Cooke le 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?

Connectez-vous pour commenter.

Plus de réponses (1)

Mpho Mugodi
Mpho Mugodi le 7 Mai 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 commentaire
Walter Roberson
Walter Roberson le 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Stability Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by