cedance
Advanced Member level 2

solving piecewise functions
Hi,
suppose, i define a function f'(t) = t at say [0,1] and f'(t) = t² at (1,4] that is,
f'(t) = t 0<=t<=1
= t² 1<t<=4
i need to find the numerical solution to this differential equation using matlab. Please suggest me how to do this. I couldnt find anything out of the help from matlab.
thanks,
cedance.
Hi,
suppose, i define a function f'(t) = t at say [0,1] and f'(t) = t² at (1,4] that is,
f'(t) = t 0<=t<=1
= t² 1<t<=4
i need to find the numerical solution to this differential equation using matlab. Please suggest me how to do this. I couldnt find anything out of the help from matlab.
thanks,
cedance.