title: integral or trapz, which one is the more appropriate in MATLAB?
body: <p>I'm computing multiple integrals using MATLAB. </p>
  
  <p>I'm using the <code>integral</code> function to compute the integral but I was wondering is it faster to use <code>trapz</code> instead of using <code>integral</code>?</p>
  
  <p>I know that <code>trapz</code> introduces a bit of error in the computation, but despite that, with is the best function to compute integrals in MATLAB?</p>