Deriving X from X'X
3 views (last 30 days)
Show older comments
Hello, I am hoping someone can help me determine the n x k matrix X when the k x k matrix X'X is given using Matlab. Please share any coding tips! Many thanks!!
2 Comments
Answers (1)
Jang geun Choi
on 2 Oct 2016
Edited: Jang geun Choi
on 2 Oct 2016
n=2;
k=3;
X=rand(n,k); % make sample matrix X
Xn=X'*X
Is it right what you want?
0 Comments
See Also
Categories
Find more on Econometrics Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!