Problem 89. Counting in Finnish
Sort a vector of single digit whole numbers alphabetically by their name, in Finnish.
See the Wikipedia page for Finnish numerals for reference.
Example:
Input a = [3 5 0] Output b is [3 0 5]
In Finnish 3 is kolme, 5 is viisi, and 0 is nolla. In alphabetic order of their Finnish spelling, these numbers would go kolme, nolla, viisi, or 3 0 5.
Solution Stats
Problem Comments
-
3 Comments
funny
Nice
Interesting
Solution Comments
Show commentsProblem Recent Solvers1518
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2706 Solvers
-
Find the sum of the elements in the "second" diagonal
1141 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
531 Solvers
-
Split a string into chunks of specified length
1654 Solvers
-
Back to basics - mean of corner elements of a matrix
405 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!