Hello, I'm new to ANN and I was trying to implement FFNN using the following code:
a = xlsread('Data.xlsx'); input = [a(:,3) a(:,4) a(:,5) a(:,6)]; target = a(:,8); net = feedforwardnet(10);net = train(net, input', target'); y = net(input);
But it gave me the following error for the last line:
Error using bsxfunNon-singleton dimensions of the two input arraysmust match each other.
What does this error mean and how can I fix it? Is it because there are missing attributes in the feedforwardnet()?
Best Answer