matlab codes_session 2