various codes of matlab