i´m trying to use a neural network to guess functional values for unknown points. This is my current solution.
inputall = 2:0.01:9;
outputall = (inputall.^2+22*inputall-100)./(4*inputall);
inputtrain = 2:1:9;
outputtrain = (inputtrain.^2+22*inputtrain-100)./(4*inputtrain);
neurons = 5;
net = feedforwardnet(neurons,'trainbr');
net = train(net,inputtrain,outputtrain);
predict(1,:) = net(inputall);
comp = [outputall' predict']
figure('Name','comparison'); hold on;
Now I want to know what weights and biases the network finaly used. How can i get them and is it possible to use them to recalculate by myself the solution of the network?