#Creating  a dictionary
dict = dictionary();

str = "The quick brown fox jumped over lazy deer";
vowels = ['a', 'e', 'i', 'o', 'u'];

for v = vowels
	indx = regexp(str, v, 'ignorecase');
	dict(v) = {indx};
end

disp("Locations of occurrence of 'o' ");
dict('o')
	
    

