how I can access to inputs for rotatefactors fun.?

1 visualización (últimos 30 días)
huda nawaf
huda nawaf el 13 de Dic. de 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

Respuesta aceptada

Daniel Shub
Daniel Shub el 13 de Dic. de 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.

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 13 de Dic. de 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.

Categorías

Más información sobre Debugging and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by