Looking at this again, I think I need to be using feedforwardnet. The problem is fitting my data to the lines
net = feedforwardnet(10);
net = train(net,x,t);
The input data is 9 fields * 1000 lines and the target data is one field * 1000 lines i.e. 8 inputs and 1 output. The problem is getting this data into the train function as I'm not quite sure what :-
The cell array format is more general, and more convenient for networks with multiple inputs and outputs,
allowing sequences of inputs to be presented. Each element X{i,ts} is an Ri-by-Q matrix, where Ri = net.inputs{i}.size.
means.
SPG