In this book on matrix factorizations, the author states the following, which I don't find to be true empirically. Is it true and under what conditions?
ADD: Trying to recreate the answer in R, what is the issue?
> D<-matrix(c(7,1,4,5,2,2,4,5,5,2,5,1,7,8,0,7),nrow=4,ncol=2,byrow=TRUE)
> D
[,1] [,2]
[1,] 7 1
[2,] 4 5
[3,] 2 2
[4,] 4 5
> cor(D)
[,1] [,2]
[1,] 1.0000000 -0.3333333
[2,] -0.3333333 1.0000000
>
> D[,1]<-D[,1]-mean(D[,1])
> D[,2]<-D[,2]-mean(D[,2])
>
> D[,1]<-D[,1]/norm(as.matrix(D[,1]))
> D[,2]<-D[,2]/norm(as.matrix(D[,2]))
> D
[,1] [,2]
[1,] 0.50000000 -0.3214286
[2,] -0.04545455 0.2500000
[3,] -0.40909091 -0.1785714
[4,] -0.04545455 0.2500000
> t(D)%*%D
[,1] [,2]
[1,] 0.4214876 -0.1103896
[2,] -0.1103896 0.2602041