Matlab Codes_Session 3