title: Matrix multiplication MATLAB
body: <p>So maybe I am overthinking this and making a mess of it.... </p>
  
  <p>I have a digraph in MATLAB. I need to change it to a undirected graph to evaluate it with minimum spanning tree (right? It won't work on digraph). I have a nx1 matrix of binaries (1 is unique, 0 is repeat) that denote repeats, and my node-node-edgeweight matrix is in the form nx3. It seems my directed edges are the same either directions, so changing it to undirected shouldn't make a difference.</p>
  
  <p>How can I use the column vector of binaries to zero out all three columns of repeats in my main matrix, so it will only show undirected edges?</p>
  
  <p>Also, if there is another approach I am missing, I would love that! </p>