- given then names in your example 'a' and 'b', this will work for individual characters from 'a' to 'z':
- for more complicated name strings you could use a struct to achieve this functionality:
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!