https://en.wikipedia.org/wiki/Maya_numerals
Prev. prob. - https://www.mathworks.com/matlabcentral/cody/problems/45375-maya-01
Now u've to decode the number given in Maya representation.
For example,
Maya = .._ becomes n=7 Maya = . ...__ becomes n=33
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers10
Suggested Problems
-
Return the largest number that is adjacent to a zero
5527 Solvers
-
2251 Solvers
-
Program an exclusive OR operation with logical operators
751 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2577 Solvers
-
Matrix indexing with two vectors of indices
781 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!