creat matrix with specific row element

Create a matrix of 100 rows and 100 columns. The odd columns should contain values 2, and the even columns, values 0

回答(1 个)

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

产品

标签

回答:

2020-10-16

Community Treasure Hunt

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

Start Hunting!

Translated by