A definite integral had a minimum and maximum limit. When you solve this type of problem you must use both quad and the trapz functions (easy), returning the absolute value of their difference which should be zero.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more