Problem 50887. Draw a '8' in a zero matrix!
Solution Stats
Problem Comments
-
2 Comments
Szász Botond
on 10 Mar 2021
Please like it if it wasinteresting!
Tran Tran
on 5 May 2022
There is a very interesting solution that is create 7 segements 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 segements' coordinate on your matrix you can automate other solution in this group easily.
So i can call it is a master solution
Problem Recent Solvers396
Suggested Problems
-
8126 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
758 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
485 Solvers
-
831 Solvers
-
Double all elements in the array
831 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!