Recent content by t-gas

  1. T

    MATLAB How to follow a function's value in ODE45 Matlab?

    Thanx, I have included "fprinf" commands and etc... but still no luck! I can write an output file for all except the one I want, "m" :( I guess it calculates "m" time series internally whithin the ode45 and keeps no records for output. When I include the "fprinf" and so in function...
  2. T

    MATLAB How to follow a function's value in ODE45 Matlab?

    I have tried an array but it does not still show the values for (m) at each time step. Since my actual code is more complicated and it runs for about more than 1000secs I guess there must be also another solution to that. Perhaps it needs "odeset" or "handle" functions, I do not really know...
  3. T

    MATLAB How to follow a function's value in ODE45 Matlab?

    Hi everyone, It is extremely helpful for me if you could answer the following question. I hope it is a relatively simple problem: I just need a plot or an output data file of the values of the function 'm=2/y(1)' appearing in the function 'myfun' for each time-step. This is extremely easy in...
Back
Top