title: Fuzzy set union and intersection in matlab
body: <pre><code>k = {1,2,3,4,5};
  
  v = {0.1,0.3,0.2,0.2,0.6};
  
  k1 = {1,5,6,7,8};
  
  v1 = {0.8,0.6,0.2,0.2,0.6};
  
  fset1 = containers.Map(k, v);
  
  fset2 = containers.Map(k1, v1);
  </code></pre>
  
  <p>the above are my fuzzy sets . i want to find the union and intersection of these 2 fuzzy sets. I am unable to think of a logic to implement the union and intersection of these 2 fuzzy sets in matlab.</p>