'statsfminbx' issue with user-defined factoran()

Hi
While using
factoran(X,2) ; %where X <250*10>double
I keep getting the following error:
Undefined function 'statsfminbx' for input arguments of type 'cell'.
Error in factoran (line 269)
[Psi1, nll, lagrange, err, output] = ..
Could someone assist in debugging this please? as i do not see why this error occurs even after looking into line 269.
Thanks

 채택된 답변

Steven Lord
Steven Lord 2015년 8월 17일

0 개 추천

Did you make a copy of factoran.m outside the Statistics and Machine Learning Toolbox directory? That's not going to work; delete that copy and use the copy inside the toolbox directory.

댓글 수: 1

Isma
Isma 2015년 8월 17일
fair enough, I could not figure out since the error message was leading me "somewhere else". I confirm that your suggestion does work. Thanks a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

질문:

2015년 8월 17일

댓글:

2015년 8월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by