How to produce square matrix in this form
Show older comments
How can I form a square matrix in this form regardless of its dimension. Note that the pattern; 1 will form after three 0 from the centre.

Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!