Efficient writing of Mat lab code :Empty sparse matrix

Home Forums Matlab Efficient writing of Mat lab code :Empty sparse matrix

This topic contains 1 reply, has 2 voices, and was last updated by  cK 10 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #482

    pankaj kumar
    Participant

    For efficient writing of Mat lab code Vectorized code takes advantage. In Finite Element Matrices are usually large and sparse, so storing the entire matrix in memory is an inefficient use of computer memory, may I know efficient way for handling empty sparse matrix

    #485

    cK
    Keymaster

    Matlab supports sparse matrices. Many math functions have built in capability to handle sparse matrices. See sparse() and full() functions.

    • This reply was modified 10 years ago by  cK.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.