MATLAB integral

The integral function calculates an integral with respect to a single variable.


Usage

The integral function takes three arguments: a function handle and the bounds of integration.

f = @(x) (2.*x)

integral(f, 0,Inf)

See also integral2 and integral3.


CategoryRicottone

MATLAB/Integral (last edited 2026-01-05 17:10:54 by DominicRicottone)