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: Matrix is singular and is not supposed to be.
Replies: 4   Last Post: Feb 5, 2013 10:34 AM

Advanced Search

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

Posts: 17,944
Registered: 12/7/04
Re: Matrix is singular and is not supposed to be.
Posted: Feb 3, 2013 11:07 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



"Hugo " <hugolopessilva@gmail.com> wrote in message
news:kejmtf$igm$1@newscl01ah.mathworks.com...
> Hello, I am trying to obtain deflection results on a beam made with shell
> elements
>
> I wrote a MATLAB code. The problem is that kk is a matrix with 3000*3000
> full of zeros (it´s a singular matrix), and it is not supposed to be.
> The code runs well until I call the function feasmbl1.m, which is shown
> next


*snip*

No one will be able to debug this without your data. That means that you're
going to have to be the one to step through your code (ideally on a SMALLER
problem, one that you can work out on paper) to determine why it doesn't
return the results you expect (or determine why your expectations are
incorrect.)

I will suggest that you may want to use the ACCUMARRAY or SPARSE functions
to perform your accumulation instead of building your own function.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com




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.