The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

Posts: 21
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.