Representing system by FSM with Matlab Coding

I have a system which has different number of clusters and I want to represent the system with a State Machine and each state should be the cluster of the system So anyone please help me how to do so..?

Answers (2)

A Finite State Machine requires transition rules, with the transitions either sequentially clocked by time, or statically determined at each state according to the next input. Maybe you are looking for a Markov Chain or its generalization, Probabilistic Automation ? But then you would need some way of determining the transition probabilities, which just knowing the cluster centroids will not give you (but could potentially be solved if you added a rule for determining the probabilities based upon the points)
@Walter I agree with you, and @Zubin you need to narrow down the question to a particular reference. We don't seem to understand what you want here.
I suspect you probably have a state-transition matrix, T, and with a given input conditions, A_t0, tyou can compute the output state as a matrix-vector product,
A_t1 = T*A_t0
Ofcourse you need to map your cluster index to a Matrix, and find the values of the matrix T, assuming it is not time dependent, etc.
So details are key here.

Categories

Asked:

on 10 Sep 2013

Community Treasure Hunt

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

Start Hunting!