Create matrix with iteration

1 次查看(过去 30 天)
Penglin Cai
Penglin Cai 2020-6-9
回答: KSSV 2020-6-9
Dear all
How can l create a matrix shown below by iteration?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Array Geometries and Analysis 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by