Create matrix with iteration

Dear all
How can l create a matrix shown below by iteration?

Risposte (1)

KSSV
KSSV il 9 Giu 2020

0 voti

You need not to use iteration. Read about diag, zeros and ones.

Prodotti

Release

R2019b

Richiesto:

il 9 Giu 2020

Risposto:

il 9 Giu 2020

Community Treasure Hunt

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

Start Hunting!

Translated by