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 Solvers30
Suggested Problems
-
7174 Solvers
-
Cell Counting: How Many Draws?
1700 Solvers
-
120 Solvers
-
Cumulative product of a vector
273 Solvers
-
Test Problem; Create a 5x5 array containing all ones
377 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!