miscellaneous MATLAB codes, not sorted into a project or toolbox