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: very specific symmetric matrix
Replies: 5   Last Post: Jun 16, 2014 3:31 AM

Advanced Search

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

Posts: 8,813
Registered: 7/26/08
Re: very specific symmetric matrix
Posted: Jun 16, 2014 3:31 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Eric" wrote in message <lnlr9p$f3u$1@newscl01ah.mathworks.com>...
> "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <lne84h$19k$1@newscl01ah.mathworks.com>...
> >
> > > Thanks; Is there some version of blkdiag or something else which allows you to put blocks on the off-diagonals, instead of only main diagonal?
> >
> > spdiags(), it will creates sparse matrix, but can easity converted to regular matrix using full()
> >
> > Bruno

>
> I don't see how that answers my question; I'm talking about taking blocks and placing them on diagonals; while there is a command to place them on the main diag (blkdiag), there doesn't seem to be a straightforward way to play blocks on the off-diagonals.


If your blocks is constant in size, might be you can you kron() combined with spdiags() to accomplish building matrix with the blocks off-diagonals

Bruno



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.