matlab code initial commit