Can i code nonlinear system simulation in matlab ?

3 views (last 30 days)
Hello everybody
i am trying to simulate a non linear system that work proper in simulink with matlab code.
system shows in picture below:
i have a system that get input for state space and the outputs are two variables(Displacement and Velocity) .this two variable are inputs of fuzzy inference system and outputs this system is input of state space in next step time.
can i code this system with m files' matlab without simulink ?
  3 Comments
saeed mazloomi
saeed mazloomi on 10 Aug 2017
No i want do by myself
I know , i can use ss() function for create a state space system . But each time input matrice will change and i dont know how can i change it each time
Yuanning Mao
Yuanning Mao on 26 May 2020
Hi Saeed,
I am interested in your post as I am currently facing the same issue.
Ithink that if will be helpful if you check on the use of feedback in between 2 systems, in which essentially treating the controiler as a state space system as well. The link is provided as: https://www.mathworks.com/help/control/ref/feedback.html
Could you please share your method if you happened to solve it? Much appreciate.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!