Numbers on 7-segment - MATLAB Cody - MATLAB Central

Problem 44682. Numbers on 7-segment

Difficulty:Rate

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

49.3% Correct | 50.7% Incorrect
Last Solution submitted on Feb 12, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Group

Number Manipulation IV Image
Number Manipulation IV
  • 15 Problems
  • 30 Finishers

Problem Recent Solvers82

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page