Is Array Faster Than Arraylist Length Function Matlab Code For Bisection