An artificial neural network (ANN) using Matlab