No BSD License  

Highlights from
Introduction à Matlab (deuxième édition)

from Introduction à Matlab (deuxième édition) by Jean-Thierry
tous les m-fichiers relatifs à la deuxième édition de l'Introduction à Matlab

inter(x,y)
function x = inter(x,y)
% INTER     intersection         
%           z = inter(x,y)

x = sort([union(x) union(y)]);
n=length(x);
if n > 1
  x = x([0 ~(x(2:n)-x(1:n-1))]);
end

Contact us at files@mathworks.com