error in newff neural network training function

Matalb version 7.10 R2010a
P = [0 1 2 3 4 5 6 7 8 9 10]; T = [0 1 2 3 4 3 2 1 2 3 4]; net = newff(P,T,5);
THe error obtained was as follows
??? Undefined function or method 'minmax' for input arguments of type 'double'.
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{:});

 채택된 답변

Walter Roberson
Walter Roberson 2016년 12월 8일

0 개 추천

Odd, that routine has been part of the neural network toolbox for a long time. Try
restoredefaultpath
If that does not work then you probably need to reinstall the toolbox

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2016년 12월 8일

답변:

2016년 12월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by