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)


CategoryRicottone