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
댓글 수: 0
채택된 답변
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
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!