deval()

ODE Solvers

deval() is a MATLAB®-compatible ode solvers function for evaluate the continuous solution returned by an ode solver at points x using cubic hermite interpolation between mesh points (alias for sl_odeeval). Run it online in your browser with SimLab — free, no install, no license required.

Evaluate the continuous solution returned by an ODE solver at points x using cubic Hermite interpolation between mesh points (alias for sl_odeEval).

Syntax

y = deval(sol, x)
y = deval(sol, x, idx)

Examples — run deval() in your browser

sol = ode45(@(t,y) -y, [0 5], 1); deval(sol, linspace(0, 5, 51))
▶ Run

See Also

More ODE Solvers Functions

Browse other free, MATLAB®-compatible ode solvers functions in SimLab:

Browse all 510+ SimLab functions →

Frequently Asked Questions about deval()

Is the deval() function free to use in SimLab?

The browser workspace requires no MATLAB® license or installation. Connected features require network access and may have account, tier, availability, or usage limits. You can open deval() and 510+ other MATLAB®-compatible function references at simulations4all.com/simlab.

Do I need to install MATLAB to use deval()?

No. SimLab’s core parser, workspace state, and most functions run locally in your browser. The deval() function requires no MATLAB® license or desktop software download.

What does deval() do?

Evaluate the continuous solution returned by an ODE solver at points x using cubic Hermite interpolation between mesh points (alias for sl_odeEval). It is a MATLAB®-compatible ode solvers function available in SimLab with the same calling syntax as MATLAB® — typically: y = deval(sol, x).

Can I run deval() in my browser?

Yes. Open SimLab at simulations4all.com/simlab, write or paste code that calls deval(), and run it. This function’s calculation runs locally in the browser. SimLab session analytics, sharing, feedback, and eligible acceleration have separate network boundaries.

Try SimLab — MATLAB®-compatible, free, in your browser

510+ functions. Runs in your browser. No install. No license.

Open SimLab

MATLAB® is a registered trademark of The MathWorks, Inc. SimLab is an independent project by Simulations4All and is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.