Effacer les filtres
Effacer les filtres

Create matrix with iteration

1 vue (au cours des 30 derniers jours)
Penglin Cai
Penglin Cai le 9 Juin 2020
Réponse apportée : KSSV le 9 Juin 2020
Dear all
How can l create a matrix shown below by iteration?
  1 commentaire
madhan ravi
madhan ravi le 9 Juin 2020
And what did you do for you homework?

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 9 Juin 2020
You need not to use iteration. Read about diag, zeros and ones.

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by