Multiplication of large sparse matrices causes memory error
<p>I have a large simple graph <code>G</code>, which has about 100k node, and its adjacency matrix <code>A</code> (sparse, symmetric and binary). I need to calculate <code>(A*A).A</code>, but unfortunately <code>A*A</code> causes memory error in MATLAB. Is there any efficient way to do that?</p>

<p>Note: I tried with sparse matrix format.</p>