This is a 7-segment:
_ |_| |_|
It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space). Using these 3 characters make the input number on the 7-segment. (Input is 0-9).
Example:
N=0 ans= _ | | |_|
N= 9 ans= _ |_| _|
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers87
Suggested Problems
-
Compute a dot product of two vectors x and y
1050 Solvers
-
Return the first and last characters of a character array
11899 Solvers
-
Set the array elements whose value is 13 to 0
1439 Solvers
-
Create an index-powered vector
944 Solvers
-
Is this is a Tic Tac Toe X Win?
534 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!