Make a square matrix with this shape. For n=4
M =
1 1 0 0
1 0 1 0
0 1 0 1
0 0 1 1
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers316
Suggested Problems
-
1836 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1328 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
226 Solvers
-
933 Solvers
-
Create a two dimensional zero matrix
532 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!