# biplot understanding

조회 수: 2 (최근 30일)
Raviteja 2011년 9월 19일
>> x=[1 2 3 4 5 6;1 2 3 4 5 6]'
x =
1 1
2 2
3 3
4 4
5 5
6 6
>> biplot(x)
>> x=[1 2 3 4 5 6;1 2 3 4 5 -6]'
x =
1 1
2 2
3 3
4 4
5 5
6 -6
>> biplot(x)
Iam unable understand biplot for the above two cases. What the second biplot is doing there ?

댓글을 달려면 로그인하십시오.

### 채택된 답변

Wayne King 2011년 9월 19일
Hi, In the first biplot both component 1 and component 2 (the columns of your matrix) are in the same direction and magnitude.
In the second example, biplot() makes the largest magnitude coefficient (element) in each column positive. That is the sign convention. So the -6 in the second column becomes positive and all the other elements in the 2nd column change sign to be negative.
That does not affect the interpretation, which demonstrates that x(end,1) and x(end,2) differ from the relationship between x(1:end-1,1) and x(1:end-1,2)
Wayne
##### 댓글 수: 3이전 댓글 1개 표시이전 댓글 1개 숨기기
Wayne King 2011년 9월 19일
I suspect that since the inputs to biplot() are typically principal component coefficients or factor loadings, basing the signs on the largest magnitude principal component coefficient or factor loading makes a lot of sense. Because you change all the signs in the vector accordingly, the interpretation is not affected.
Raviteja 2011년 9월 19일
Thanks Wayne!

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Chebyshev에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!

Translated by