limit

Symbolic

Compute the limit of an expression as a variable approaches a value. Uses symbolic computation when available, falls back to numerical evaluation.

Syntax

limit(expr, var, val)

Examples

limit('sin(x)/x', 'x', 0)
▶ Run
limit('1/x', 'x', 0)
▶ Run

See Also

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

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