Differences between revisions 1 and 2
Revision 1 as of 2025-12-17 21:02:59
Size: 380
Comment: Initial commit
Revision 2 as of 2025-12-17 21:12:54
Size: 459
Comment: Link
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
See also [[MATLAB/Integral2|integral2]] and [[MATLAB/Integral3|integral3]].

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)