also any corrections pls tell me,
% Target Vector T = [1 4 9 16 25 36 49 64 81 100]; % T=T';
% Input Vector p =[1 2 3 4 5 6 7 8 9 10]; % p = p';
% Number of hidden neurons S1 = 20;
% Create Network net = newelm(p,T,S1);
% Train Network pseq = con2seq(p); Tseq = con2seq(T); net = train(net,pseq,Tseq);
% Test the network Y = sim(net,pseq); z = seq2con(Y); diff1 = T – z{1,1};
Best Answer