'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 ExchangeDimensionality 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