Nfs Exp 1
Nfs Exp 1
-1
Aim: Design a neural network using neural network toolbox
Software Used: MATLAB
Program:
1. Calculate the output of a simple neuron
Configure network
net = configure(net,inputs,outputs);
view(net);
initial_output = net(inputs)
% network training
net.trainFcn = 'trainlm';
final_output = net(inputs)
initial_output = 0
final_output = 1.0000
2.0000