MATLAB functions and scripts used by various projects