Modeling a nonlinear time-varying state space model

Hello,
i am trying to simulate a bit more complicated model with basic equation:
x'= A(t)x + R(t)r(x) + Bu(t)
r(x) describes the behavior of my diodes.
I tried to use "ss", but i can implement only non time-varying matrices, and without my second matrix.
So the question is: is it some build in tool in Matlab, in which i could just implement matrices(like ss), and if it isn't then any ideas how can i implement that ?

Answers (1)

Do I need to go back to the differential equations and then solve them in some way ?

Categories

Asked:

on 16 Aug 2013

Community Treasure Hunt

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

Start Hunting!