What is the input of the function trim('sys')?

3 Ansichten (letzte 30 Tage)
MatlabUser
MatlabUser am 27 Jan. 2021
Beantwortet: Titus Edelhofer am 27 Jan. 2021
How do i use the function trim('sys')?
I have 4 Matrices A,B,C,D like in the example from mathworks.
But how can I input them? What is 'sys'?
I googled a lot but i didn't found out what 'sys' is.
I already tried to create a System with sys = ss(A,B,C,D);

Akzeptierte Antwort

Titus Edelhofer
Titus Edelhofer am 27 Jan. 2021
sys is the name of a Simulink model
The doc says "Consider a linear state-space system modeled using a State-Space block". So sys would be:
  • create new Simulink model
  • add State-Space block
  • feed the 4 matrices
  • and then call trim
Titus

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by