IP1 = input1; IP2 = input2; IP3 = input3; IP4 = input4; IP5 = input5; IP6 = input6; input1,input2——-input6 are of [6 6] size target = eye(36); P1=IP1; P2=IP2; P3=IP3; P4=IP4; P5=IP5; P6=IP6; T=target; %%PREMNMX function within the Neural Networks Toolbox to scale my data between 0 and 1 % r1 = premnmx(P1); % r2 = (r1+1)*(1-0)/2+0; %net = newff(minmax(P1),[16 36],{'logsig','logsig'},'traingdx','learngdm'); net = newff(minmax(P1), [16 36], {'logsig','logsig'} , 'trainlm' );
is giving error Error in ==> test1 at 20 net=train_nn(input1,input2,input3,input4,input5,input6,target);
Best Answer