I have got 36 input variables and 9 output variables. I got 10 samples. I am preparing NN without using any inbuilt function of NN in MATLAB. I want to know whether I have to prepare code in MATLAB in such a way that I need to update weights for every output separately or should I update weights at the time. Which would be a better option?