Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
accessing previous time data in time dependent simulation
Posted Feb 26, 2019, 12:05 p.m. EST General, LiveLink for MATLAB Version 5.4 1 Reply
Please login with a confirmed email address before reporting spam
I am running a time dependent simulation and keeping track of two functions of time call them f1 and f2. I would like to be able to access previous time slices of the function f1 and pass them to f2 in the simulation. In other words at time t2 I need to access the value of the function f(t1) where t1<t2 and use that as an argument to f2 (ie f2(t2)=f2(f1(t1))). Is this possible?
Does anyone know how to do this?
- JB