Object recognition application in MATLAB