I have a question regarding control theory, How are state space equations linked with state flow?? Can stateflow have memory??
2 views (last 30 days)
Show older comments
Vishakha Bhagat
on 21 May 2014
Commented: Vishakha Bhagat
on 22 May 2014
I have a question regarding control theory, How are state space equations linked with state flow?? Can stateflow have memory??
0 Comments
Accepted Answer
Arkadiy Turevskiy
on 21 May 2014
Two separate questions here.
State-space equations do not have much to do with Stateflow, except for the word "state".
State-space equations are differential equations describing system dynamics. Stateflow is a product for modeling and simulating state machines. To understand state machines, take a look at our recent videos on the topic.
Here is an analogy that maybe could help. Imagine you have an aircraft flying along happily. Then something happens (say it hits a flock of geese) and half of the wing gets teared off.
When the wing gets damaged, aircraft dynamics change suddenly, as a result of the event. Before the accident, a state space system can be used to represent aircraft dynamics. After the accident, a different state space system can represent aircraft dynamics. For the aircraft to keep flying after the accident, control system most probably needs to determine that something bad happened and reconfigure itself. The type of logic that can detect an even happened and take an action to accommodate for it is something that Stateflow can do well.
As for the second question, you need to clarify what you mean exactly.
More Answers (0)
See Also
Categories
Find more on Complex Logic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!