필터 지우기
필터 지우기

sign of coefficients in eig

조회 수: 2 (최근 30일)
Hans van der Horn
Hans van der Horn 2022년 8월 11일
답변: Hans van der Horn 2022년 8월 12일
Dear experts,
I am aware that the coefficients in PCA componentes are arbitrary (and can be flipped which still has the same meaning). However, I am still a little puzzled. Is there a rule or convention behind the signs in eigenvectors in the output of the eig function? (and determining which part of the elements gets which sign?) Does the strength (absolute) values of coefficients have any influence?
Thanks very much for your help,
Best
Hans van der Horn

채택된 답변

Hans van der Horn
Hans van der Horn 2022년 8월 12일
I'd like to comment on my own question.
I'm analyzing functional MRI data, and extract the first eigenvector from 4D connectivity matrices. I noticed sign flips now and then, that look strange. Now I'm using eigenshuffle.m by John D'Errico, and this tackles the problem. Great code, thanks so much!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by