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

 Respuesta aceptada

Sebastian Castro
Sebastian Castro el 4 de Jun. de 2017
Yes, you can!
>> A = rss(100)
- Sebastian

3 comentarios

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

Iniciar sesión para comentar.

Más respuestas (1)

Firas Omran
Firas Omran el 1 de Oct. de 2017

0 votos

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

Categorías

Más información sobre Nonlinear Analysis en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!