Fitting N(N-1) points on an NxN matrix
Afficher commentaires plus anciens
Suppose I have an N(N-1) vector that corresponds to each non-diagonal entry of an NxN matrix. Is there anyway that I can encode that onto my matrix?
i.e. For n=3, given [ 2 3 4 5 6 7 ] we obtain
[0 4 6 ; 2 0 7 ; 3 5 0]?
2 commentaires
Nasser M. Abbasi
le 1 Déc 2012
Modifié(e) : Nasser M. Abbasi
le 1 Déc 2012
If one posts same question here and at another forum at the same time, like comp.soft-sys.matlab, it is only right that you mention that and give a link. This way one does not waste their time if someone else already answered you on the other forum.
Vic
le 1 Déc 2012
Réponse acceptée
Plus de réponses (1)
Vic
le 1 Déc 2012
0 votes
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!