1

There are histogram estimators in Matlab's "histogram" function, which do some automatic selection of bins (this is the recommended replacement for hist/histc): https://www.mathworks.com/help/matlab/creating_plots/replace-discouraged-instances-of-hist-and-histc.html You should probably use these rather than rolling out your own histogram estimator. ...


1

Having a solver for equality constrained QP only will not help you in solving the general inequality constrained problem (unless you develop a QP solver, which can have an equality-constrained QP solver as a required sub-routine). In other words, your problem cannot be reformulated to a problem with only equalities.


Only top voted, non community-wiki answers of a minimum length are eligible