1 dimensional
To integrate a one dimensional function
f = @(x) sin(x).^3 + 1;
within the range
xmin = 2;
xmax = 8;
one can call the function
q = integral(f,xmin,xmax);
it's also possible to set boundarys for relative and absolute errors
q = integral(f,xmin,xmax, 'RelTol',10e-6, 'AbsTo...