keys = ['C', 'D', 'E', 'F', 'G', 'A', 'B']; selection = input("Enter key: ", 's'); key = find(keys==selection)