MATLAB: How to perform a convergence speed comparison test

bisectionconvergencenewton raphson

How do I perform a convergence speed comparison of the bisection and Newton-Raphson methods?

Best Answer

How about using tic and toc? Or timeit?