%% Determine if Double Integer Values Are Prime

tf = isprime([2 3 0 6 10])

% 2 and 3 are prime, but 0, 6, and 10 are not.
% Copyright 2012 The MathWorks, Inc.