How to deal with nonlinear systems in matlab?

1 view (last 30 days)
Ahmed
Ahmed on 19 Jan 2016
Answered: Walter Roberson on 19 Jan 2016
The question in figure,
May be the example is not a logical nonlinear example, but what I need is the matlab functions, and ideas that will allow me to compare the outputs of the systems.
I tried, but the code was so long and contains several functions, I want to optimize it.
Thanks in advance.

Answers (1)

Walter Roberson
Walter Roberson on 19 Jan 2016
syms x xdot u T sdot ynew
xdot = x.^2 + u;
sdot = T * x.^2 + u;
ynew = T * x;

Categories

Find more on Function Creation 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!