diag(.) does not work
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

diag function works in a wrong way as shown in the figure. How can i fix it?
2 commentaires
Réponses (2)
Walter Roberson
le 27 Oct 2018
I suspect you accidentally assigned zeros to a variable named diag, so your call is indexing rather than invoking the function.
0 commentaires
Voir également
Catégories
En savoir plus sur Matrix Indexing 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!