Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Generate matrix with different numbers for diagonal and off-diagonal entries

2 vues (au cours des 30 derniers jours)
Mary Hemler
Mary Hemler le 27 Mar 2020
Clôturé : John D'Errico le 27 Mar 2020
How can I create a 10x10 matrix with the number 5 for all diagonal entries and the number -3 for all off-diagonal entries?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by