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

조회 수: 2 (최근 30일)
how to make my own sparse matrices function that works just like "sparse" Matlab build-in function? Thanks
  댓글 수: 4
Stephen23
Stephen23 2018년 3월 7일
Mojgan Soltan's "Answer" moved here:
I would like to experiment and check the different matrix behavior.Thanks
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에서 Programming에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by