Vision assignment MATLAB code