A is a sparse matrix. B is a vector. I have the following code: Code (Text): for j=1:N B=A*B; end; This part of the code is inside a function which gets called about 160000 times. I ran the Profiler and this part is the bottleneck. How can I make it more efficient?