Discussion Overview
The discussion revolves around how to configure MATLAB to display all calculation results when solving a system of ordinary differential equations (ODEs), particularly in the context of large spatial variables and time step distributions.
Discussion Character
- Technical explanation
- Conceptual clarification
- Homework-related
Main Points Raised
- One participant inquires about how to ensure MATLAB displays all results from ODE calculations, noting that results only appear starting from a certain time point.
- Another participant explains that ODE solvers in MATLAB do not evaluate results solely at specified time points, emphasizing the importance of the start point, end point, and the distance between the first two time steps.
- This participant mentions that the solver uses interpolation to generate solutions, suggesting the use of the
ode45 function and the deval function to evaluate solutions at desired points.
- There is a request for clarification on the terms
xint and yint, which are used in the context of evaluating solutions.
- A later reply provides a definition from the documentation, explaining that
deval evaluates the solution at specified entries of the vector XINT, detailing the requirements for XINT in relation to the solution structure returned by the ODE solver.
Areas of Agreement / Disagreement
Participants have not reached a consensus on the best method to display all results, and there are multiple viewpoints regarding the behavior of MATLAB's ODE solvers and the interpretation of specific terms.
Contextual Notes
There are limitations regarding the assumptions made about the behavior of ODE solvers and the specific configurations needed to display results, which remain unresolved in the discussion.