how to make my own sparse matrices function that works just like "sparse" matlab bulid-in function

1 次查看(过去 30 天)
how to make my own sparse matrices function that works just like "sparse" Matlab build-in function? Thanks
  4 个评论
Adam
Adam 2018-3-7
Creating your own function to create a sparsely stored matrix from a non-sparse one is not difficult at all, but writing all the code that would support your created structure for all the operations you might want to do, as Matlab's builtin sparse data-type supports would be a nightmare

请先登录,再进行评论。

回答(1 个)

Steven Lord
Steven Lord 2018-3-7
As James said this will be a LOT of work. There is a paper from 1991 describing the design and implementation of sparse matrices in the PDF documentation that may interest you.

类别

Help CenterFile Exchange 中查找有关 Sparse Matrices 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by