Create matrix with iteration

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

1 件のコメント

madhan ravi
madhan ravi 2020 年 6 月 9 日
And what did you do for you homework?

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2020 年 6 月 9 日

0 投票

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

カテゴリ

製品

リリース

R2019b

質問済み:

2020 年 6 月 9 日

回答済み:

2020 年 6 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by