How to generate random stable state space?

8 Ansichten (letzte 30 Tage)
Rebbecca Thien
Rebbecca Thien am 3 Jun. 2017
Hey guys,
How to generate random stable state space model? A=rand(100,100) with eig(A)<0.
Thanks, Rebbecca

Akzeptierte Antwort

Sebastian Castro
Sebastian Castro am 4 Jun. 2017
Yes, you can!
>> A = rss(100)
- Sebastian
  3 Kommentare
Martin Evans
Martin Evans am 17 Feb. 2020
Does rss guarantee stability? The question was for a random stable system.
Andrey Kharitenko
Andrey Kharitenko am 7 Jan. 2022
Doesn't quite answer the question.
rss allows for integrators in the model, so the result may be unstable.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Firas Omran
Firas Omran am 1 Okt. 2017
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

Community Treasure Hunt

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

Start Hunting!