ode45 - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ode45

jimyyjimyy Posts: 1Member
Hi all, i have had to use ode45 in MATLAB to solve an ODE. This part was fine and the output is correct. It had to be plotted which was also no problem. The problem is the output is temperature versus time, and the final part wants the determination of a time constant from a known temperature. Is there any function that will determine this time from the graph or from the data solved in the ode solution. As so far nothing will work.

Comments

  • rinoobrinoob Posts: 14Member
    : Hi all, i have had to use ode45 in MATLAB to solve an ODE. This part
    : was fine and the output is correct. It had to be plotted which was
    : also no problem. The problem is the output is temperature versus
    : time, and the final part wants the determination of a time constant
    : from a known temperature. Is there any function that will determine
    : this time from the graph or from the data solved in the ode
    : solution. As so far nothing will work.
    :
    use a while loop to go through the data and approximate the frequency then the inverse of the frequency is the time constant as far as I know there is no premade function to do this still it is an easy function.
Sign In or Register to comment.