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.
Nick Durkee (2020). fminbnd_vec_released(funfcn,min_bound,max_bound,num_vecs) (https://www.mathworks.com/matlabcentral/fileexchange/67405-fminbnd_vec_released-funfcn-min_bound-max_bound-num_vecs), MATLAB Central File Exchange. Retrieved .
Updated demo and notes accordingly