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
-
928 Solvers
-
Reverse the elements of an array
1141 Solvers
-
07 - Common functions and indexing 1
454 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
160 Solvers
-
177 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!