first matlab code