MATLAB LanguageSet operations


Syntax

  1. C = union(A,B);
  2. C = intersect(A,B);
  3. C = setdiff(A,B);
  4. a = ismember(A,x);

Parameters

ParameterDetails
A,Bsets, possibly matrices or vectors
xpossible element of a set