This function attempts to solve numerous single variable minimization problems simultaneously utilizing a vectorized version of MATLAB's fminbnd. As shown in the figure, this vectorization can result in significant performance increases. Read demo for more information.
Known issues: It is possible to chain multiple variable solutions which is often faster than fminsearch or fmincon but is very difficult.
If you find issues or have questions please comment below and I will get back to you asap.
Updated demo and notes accordingly