How to improve performance of sparse matrix indexing in Matlab?

2 views (last 30 days)
Shubham Maurya
Shubham Maurya on 1 Mar 2016
Commented: Steven Lord on 1 Mar 2016
I have a big sparse matrix and it takes lot of time to execute the whole code.
  1 Comment
Steven Lord
Steven Lord on 1 Mar 2016
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)

Nana August
Nana August on 1 Mar 2016
Sparse matrix always need a lot memory in Matlab, maybe you can try Visual C++.

Community Treasure Hunt

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

Start Hunting!