 2     2

</pre><pre class="codeinput"><span class="comment">%Moudlarity value</span>
com2.Qb
</pre><pre class="codeoutput">
ans =

    0.5000

</pre><h2>Example 3: Optimizing at the component level<a name="9"></a></h2><p>The default behavior of <tt>BiMat</tt> is to optimize modularity using the entire adjacency matrix. However, some times the network may have isolated components (sub-graphs with no connections between them). For those instances, the user may want to optimize each sub-graph independent of t