I am solving system of Differential-Algebraic using ODE15s MATLAB, and this is a segment of my code
options = odeset('Mass',M,'RelTol',1e-3,...,
'Vectorized','off','MaxStep',1e-4);
tspan = [0 50];
[t,y] = ode15s(@fs,tspan,y0,options);
But I got this error message
"Unable to meet integration tolerances without reducing the step size below the smallest value allowed (5.551115e-17) at time t."
But I did not understand the message, How can I fix it? I think I should choose fit values for step size and tolerance error, Any advises?
Thanks a lot
Well, this means that the graph of the function has gotten so steep that MATLAB can't graph it. What could this imply? A singularity at that point.
Perhaps use the ode23t function instead?
Documentation can be found here: http://www.mathworks.com/help/matlab/ref/ode23t.html