function p=subset_noC(A,B)
% SUBSET Returns 1 if small is a subset of large, 0 otherwise.
% p = subset(small, large)

% Surprisingly, this is not built-in.

A = A(:);
B = B(:);

p = length(intersect(A, B)) == length(A);

% Slower
%p = 0;
%for i=1:length(A)
%  f = find(A(i)==B);
% if isempty(f)
%    return;
%  end
%end
%p = 1;



