How to improve performance of sparse matrix indexing in Matlab?

I have a big sparse matrix and it takes lot of time to execute the whole code.

1 Comment

How big is "big sparse matrix"?
How sparse is it -- what percentage of the elements are nonzero?
What are you doing with this sparse matrix?
Are you certain that the sparse matrix indexing is the bottleneck of your code?
With the answers to these questions we have a chance at offering potential improvements to the code.

Sign in to comment.

Answers (1)

Sparse matrix always need a lot memory in Matlab, maybe you can try Visual C++.

Products

Asked:

on 1 Mar 2016

Commented:

on 1 Mar 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!