Problem 44004. Get chain of consecutive characters
Write a function that will output a chain of consecutive characters, given 2 letters as input. It has to work backwards too. Examples:
>> get_char_list('a', 'f') abcdef >> get_char_list('p', 'q') pq >> get_char_list('x', 't') xwvut
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers32
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52494 Solvers
-
Increment a number, given its digits
680 Solvers
-
Calculate the area of a triangle between three points
3400 Solvers
-
Test if two numbers have the same digits
262 Solvers
-
606 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!