Matlab application code in image processing and target recognition