Problem 50872. Draw a '5' in a zero matrix!
58.83% Correct | 41.17% Incorrect
Last Solution submitted on Jun 02, 2023
Tran Tran on 5 May 2022
There is a very interesting solution that is create 7 segement on your array like a "7-segment Display"
This way may seem more complicated but once you has the data of segement coordinate on your matrix you can automate other solution in this group easily.
So i can call it is a master solution
Solution CommentsShow comments
Problem Recent Solvers381
Flip the main diagonal of a matrix
Change the sign of even index entries of the reversed vector
The Answer to Life, the Universe, and Everything
More from this Author12
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!