Info
This question is closed. Reopen it to edit or answer.
Making 1s matrix using loop
2 views (last 30 days)
Show older comments
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 Comments
Ameer Hamza
on 24 Mar 2020
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.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!