function [ s ] = randstr(n)
%RANDSTR Random all uppercase string of letters
%  S = RANDSTR(N) returns a random all uppercase string of length
%  N where the characters are English letters.

% NOTE TO STUDENTS: the letters A through Z correspond to the
% integers 65 through 90, respectively. To implement this function,
% all you need to do is generate a row vector of N random integers
% between 65 and 90 inclusive and convert the vector to a string
% using the function 'char'

s = char(randi(26, [1 n]) + 64);

end