
This question/challenge falls under the programming puzzle area.
For those familiar with the sparse command, you know that Matlab takes references to a location in an array (e.g. C(i,j)) and stores them in a triplet format (i.e. cid(index) = i, rid(index) = j, s(index) = C(i,j)).
Now, the probl...