I can delcare a FFNN with two hidden layers like this:
a = [1 2 3 4 5 6 7 8 9 10 7 8 9 10 11 12 13 14 15 16];
b = [7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10];
c = a.*b;
FFnet = feedforwardnet([3,4]);
FFnet = train(FFnet, [a;b], c)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!