%% Determine if Unsigned Integer Values Are Prime

x = uint16([333 71 99]);
tf = isprime(x)

% 71 is prime, but 333 and 99 are not.
% Copyright 2012 The MathWorks, Inc.