Info
此问题已关闭。 请重新打开它进行编辑或回答。
Making 1s matrix using loop
2 次查看(过去 30 天)
显示 更早的评论
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
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.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!