following function not define 'statsfminbx', following error are coming, How can I solve?
Ältere Kommentare anzeigen
function [Lambda, Psi, T, stats, F] = factoran(X, m, varargin)
following error are coming _
Reference to non-existent field 'Preconditioner'.
Error in optimget (line 74)
o = options.(Names{j,:});
Error in statsfminbx (line 57)
pcmtx = optimget(options,'Preconditioner','hprecon') ; % not a default yet_
5 Kommentare
Geoff Hayes
am 29 Mär. 2015
S - which version of MATLAB are you using, and do you have the Statistics Toolbox? I have edited your above comment and removed the code that corresponds to the factoran function as posting it is inappropriate within this (or probably any) forum due to the fact that it is a built-in function within the Statistics Toolbox.
John D'Errico
am 29 Mär. 2015
Good. I was just planning on doing that myself. The entire code for factoran adds nothing to the question.
RS
am 30 Mär. 2015
John D'Errico
am 30 Mär. 2015
Bearbeitet: John D'Errico
am 30 Mär. 2015
What you have not shown is how you are calling factoran. Pasting in the entire function is useless, since we have that anyway.
Antworten (0)
Kategorien
Mehr zu Nearest Neighbors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!