Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: what's the replacement for full diagional matrix?
Replies: 6   Last Post: Jul 22, 2013 9:56 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ki

Posts: 16
Registered: 5/20/12
what's the replacement for full diagional matrix?
Posted: Jul 15, 2013 3:04 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a square matrix with each diagonal be the same number. For instance, 4x4 matrix

[ 1 2 3 4;
-2 1 2 3;
-3 -2 1 2;
-4 -3 -2 1]

I am trying to use spdiags to save the storage but it turns out that it use even more space. In my program, the size of the matrix is so big (at least 10000x10000), so I am looking for a better way to store this full-band matrix to save space.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.