-
1 Comment
Paul Bevillard
on 16 Jan 2025
You can use the gallery function, but you first need to see what the different matrix names do, then subtract, or manipulate. Easiest for me was 'triw', which gives a diagonal and off diagonal. You can specify the thickness of the off diagonal and integer to depict.
Suggested Problems
-
1665 Solvers
-
1566 Solvers
-
Sum of diagonal of a square matrix
1589 Solvers
-
708 Solvers
-
Is this triangle right-angled?
5961 Solvers
More from this Author30
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!