Problem 45375. Maya - 01
Given a number, convert it into the Maya numeral system.
https://en.wikipedia.org/wiki/Maya_numerals
For example,
n=7 >> Maya = .._ n=33 > Maya = . ...__ n=41 > Maya = .. .
Use the English alphabet (o), dot(.) and underscore(_) to represent the numerals. Use space to separate them.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers12
Suggested Problems
-
Read a column of numbers and interpolate missing data
2339 Solvers
-
Create a cell array out of a struct
2293 Solvers
-
Split a string into chunks of specified length
1989 Solvers
-
Penny flipping - calculate winning probability (easy)
189 Solvers
-
Find last zero for each column
643 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!