Create matrix with iteration

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

回答(1 个)

KSSV
KSSV 2020-6-9

0 个投票

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

类别

在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

产品

版本

R2019b

回答:

2020-6-9

Community Treasure Hunt

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

Start Hunting!

Translated by