net = newff([P,T,3]); ??? Error using ==> horzcat CAT arguments dimensions are not consistent.
Show older comments
I have to train my network with P input matrix that is having 100 rows and 45 columns. I have created T (Target) with same dimensions.
But when I execute net = newff([P,T,3]); it gives me an error "Error using ==> horzcat CAT arguments dimensions are not consistent."
I tried "feedforwardnet" too but the similar error message appears.
Please help me to know what should be the exact dimensions of P and T to execute this syntax or if I am making any other mistake.
Thanks in Advance.
I am using MatlabR2010a
1 Comment
KSSV
on 18 Apr 2017
Try
net = newff([P,T,3*ones(100,1)])
Answers (0)
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!