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 comments
Loading...
Problem Recent Solvers36
Suggested Problems
-
Return the first and last characters of a character array
12430 Solvers
-
390 Solvers
-
767 Solvers
-
Create sequnce 1 4 9 16 25.........
419 Solvers
-
103 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!