MATLAB: How do you integrate a constant

integrationnumerical integration

theta and miu are constants
theta = 0.01305
miu = 0.0546
const = @(x) tan(theta + miu)
r = integral(constant,0,1)

Best Answer

theta = 0.01305
miu = 0.0546
const = @(x) tan(theta + miu)+0*x
r = integral(const,0,1)
Related Question