Problem 50872. Draw a '5' in a zero matrix!
Solution Stats
Problem Comments
-
1 Comment
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"
https: //www.electronics-tutorials.ws/blog/7-segment-display-tutorial.html
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 Comments
Show commentsProblem Recent Solvers381
Suggested Problems
-
6601 Solvers
-
Flip the main diagonal of a matrix
759 Solvers
-
Change the sign of even index entries of the reversed vector
445 Solvers
-
557 Solvers
-
The Answer to Life, the Universe, and Everything
492 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!