how I can access to inputs for rotatefactors fun.?

1 Ansicht (letzte 30 Tage)
huda nawaf
huda nawaf am 13 Dez. 2011
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

Akzeptierte Antwort

Daniel Shub
Daniel Shub am 13 Dez. 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.

Weitere Antworten (1)

Sean de Wolski
Sean de Wolski am 13 Dez. 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.

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by