How to get Ones along the diagonal
Afficher commentaires plus anciens
I need a matrix of size 5x5 with ones along the diagonal and remaining values to be zero. How to get this.
Réponses (1)
David J. Mack
le 29 Déc 2016
Modifié(e) : David J. Mack
le 29 Déc 2016
Catégories
En savoir plus sur Operating on Diagonal Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!