How to generate random stable state space?

Hey guys,
How to generate random stable state space model? A=rand(100,100) with eig(A)<0.
Thanks, Rebbecca

 Réponse acceptée

Sebastian Castro
Sebastian Castro le 4 Juin 2017
Yes, you can!
>> A = rss(100)
- Sebastian

3 commentaires

Rebbecca Thien
Rebbecca Thien le 5 Juin 2017
Thank you Sebastian!
Martin Evans
Martin Evans le 17 Fév 2020
Does rss guarantee stability? The question was for a random stable system.
Andrey Kharitenko
Andrey Kharitenko le 7 Jan 2022
Doesn't quite answer the question.
rss allows for integrators in the model, so the result may be unstable.

Connectez-vous pour commenter.

Plus de réponses (1)

Firas Omran
Firas Omran le 1 Oct 2017

0 votes

Hello,
I would like to generate a random NON-linear state space system. Is there a command for that or shall i generate a linear one and then modify it to make it nonlinear (add square, sine, cosine, etc.) ? And how to ensure the generated system is a stable system ?
Appreciate your help.
Thanks Firas

Catégories

En savoir plus sur Nonlinear Analysis dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!