This is a matlab-code implementation of convolutional neural network