Numerical integration - MATLAB integral - MathWorks
https://www.mathworks.com/help/matlab/ref/integral.html
WebVector-Valued Function. Create the vector-valued function f ( x) = [ sin x, sin 2 x, sin 3 x, sin 4 x, sin 5 x] and integrate from x=0 to x=1. Specify 'ArrayValued',true to evaluate the integral of an array-valued or vector-valued function. fun = @(x)sin((1:5)*x); q = integral(fun,0,1, 'ArrayValued' ,true) q = 1×5.
DA: 40 PA: 60 MOZ Rank: 24