i am getting the following error when i execute newpr function

Error using ==> minmax at 43
Argument has illegal type.
Error in ==> network.subsasgn>setInputExampleInput at 909 range = minmax(p);
Error in ==> network.subsasgn at 96 [net,err] = setInputExampleInput(net,i,exampleInput);
Error in ==> newff>new_5p1 at 144 net.inputs{1}.exampleInput = p;
Error in ==> newff at 89 net = new_5p1(varargin{:});
Error in ==> newpr at 67 net = newff(varargin{:});
Error in ==> menu_train_Callback at 13 net=newpr(t.inputvector,t.Targetvector,50); % 100 number of neurons ________________________________________________________________ but my actual code is
t=load('neural_data');
display('inside class name');
% Initialise new pattern recognise network
net=newpr(t.inputvector,t.Targetvector,50);

1 Comment

Try running one of the examples in the documentation that use NEWPR - do you still see the same error?

Sign in to comment.

Answers (0)

Categories

Asked:

on 12 Oct 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!