how I can access to inputs for rotatefactors fun.?
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Daniel Shub
on 13 Dec 2011
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.
More Answers (1)
Sean de Wolski
on 13 Dec 2011
What's wrong with:
rotatefactors(magic(10),'method','varimax')
? Note, this uses the defaulty parameters for reltol,normalize,maxit
doc rotatefactors
for more info.
0 Comments
See Also
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!