Info

此问题已关闭。 请重新打开它进行编辑或回答。

Making 1s matrix using loop

2 次查看(过去 30 天)
Wahab Ahmad
Wahab Ahmad 2020-3-24
关闭: MATLAB Answer Bot 2021-8-20
create a 1s matrix by using loops assign each element a new value in a matrix assign -1 on the adjacent diagonal and assign 3 on the main diagonal and 0 in remaining?
  10 个评论
Ameer Hamza
Ameer Hamza 2020-3-24
Its my assignment work I didn't know about loop using to make matrix
Precisely the reason we cannot merely give you a solution. The goal of the assignment is to make you learn about creating a matrix using loops, not to ask some stranger on the internet to get it done for you.
Wahab Ahmad
Wahab Ahmad 2020-3-25
I m done it myself so no need of worry

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by