Deriving X from X'X
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 2 Oct 2016
if n > k then there will cannot be a unique solution, as k x k would not have enough information to find n x k when n > k.
If n < k then round-off error has the potential to be a problem.
Réponses (1)
Jang geun Choi
le 2 Oct 2016
Modifié(e) : Jang geun Choi
le 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 commentaires
Voir également
Catégories
En savoir plus sur Dynamic System Models dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!