sparse arrays and ODE

1 view (last 30 days)
Antonio
Antonio on 18 Jun 2012
Hi all,
I am using the ODE solver of matlab. I pass as an input a sparse array but the ODE solver always gives a solution in terms of non-sparse arrays. Since my dydt matrix is sparse, I would like to take advantage of the sparse product. How can I force the ODE to use sparse arrays?
Thanks!!

Answers (0)

Community Treasure Hunt

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

Start Hunting!