Problem 1325. Special matrix
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 commentsProblem Recent Solvers282
Suggested Problems
-
Swap the first and last columns
21018 Solvers
-
Compute a dot product of two vectors x and y
1000 Solvers
-
Determine the number of odd integers in a vector
755 Solvers
-
Height of a right-angled triangle
1865 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1975 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!