Create an n × n matrix A such that:
- Elements strictly above the main diagonal are 1
- Elements strictly below the main diagonal are -1
- Diagonal elements are 0
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers1
Suggested Problems
-
1 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The first line of the test code has an error.