how I can access to inputs for rotatefactors fun.?

1 次查看(过去 30 天)
hi,
please ,is there anybody work in this function
rotatefactors in toolbox\stats\stats
B = ROTATEFACTORS(A, 'Method','orthomax', 'Coeff',GAMMA)
% rotates A to maximize the orthomax criterion with the %coefficient GAMMA, i.e., B is % the orthogonal rotation of A
The problem is with the second input method, where there are some methods ,but the defualt is 'varimax'. What I need is how I can access to this method (varimax),I want to see how it was built ,then i can write it in other language. If anyone write code for this method , i will be grateful.
Thanks in advance

采纳的回答

Daniel Shub
Daniel Shub 2011-12-13
Are you asking for someone to post the copyrighted code so you can copy it and implement it on your own? In r2011a the relevant code can be easily seen in rotatefactors.m between lines 199 and 212. I think the key piece of information you want is contained in a comment that TMW is using "Lawley and Maxwell's fast version". Using that as a google search will get you pretty far.

更多回答(1 个)

Sean de Wolski
Sean de Wolski 2011-12-13
What's wrong with:
rotatefactors(magic(10),'method','varimax')
? Note, this uses the defaulty parameters for reltol,normalize,maxit
doc rotatefactors
for more info.

类别

Help CenterFile Exchange 中查找有关 Simulation, Tuning, and Visualization 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by