net = newff([0 10],[5 1],{'tansig' 'purelin'});
implements a feed forward ANN with input range of 1 to 10, 5 neuron in its hidden-layer with tansig transfer function, and a single purelin transfer function in output layer.