when i am trying to design my PNN I am getting an error like this:
Error using network/subsasgn>network_subsasgn (line 553)
net.IW{1,1} must be a 2-by-2 matrix.
Error in network/subsasgn (line 13)
net = network_subsasgn(net,subscripts,v,netname);
Error in newpnn>create_network (line 121)
net.iw{1,1} = p';
Error in newpnn (line 65)
net = create_network(param);
Error in he_pnn (line 90)
net=newpnn(x,t,spread);
he_pnn is my program. The syntax given to create a new PNN is same as the one given in MATLAB but where is the shortcoming?.. Please help me out.