Pattern recognition experiment guide (MATLAB source code)