= MATLAB integral = The '''`integral`''' function calculates an [[Calculus/Integral|integral]] with respect to a single variable. <> ---- == Usage == The `integral` function takes three arguments: a [[MATLAB/DataTypes#Function_Handle|function handle]] and the bounds of integration. {{{ f = @(x) (2.*x) integral(f, 0,Inf) }}} See also [[MATLAB/Integral2|integral2]] and [[MATLAB/Integral3|integral3]]. ---- CategoryRicottone