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: Problem solving nonlinear equations with matrices
Replies: 4   Last Post: Dec 3, 2012 2:58 PM

Advanced Search

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

Posts: 18,038
Registered: 12/7/04
Re: Problem solving nonlinear equations with matrices
Posted: Dec 2, 2012 11:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Joshua " <> wrote in message
> Hello,
> I am working with the Finite Element Method using MATLAB and I have run
> into a technical problem. For the basic finite element procedure, a
> stiffness matrix K and a force vector F are created, and the results we
> want to find are solved using
> d=K\F
> where K and F have no variables, only numbers. Now, however, I am doing a
> vibration problem and need some help to put a nonlinear equation into the
> matrix, or to solve it simultaneously.
> Here's my problem:
> I have a square matrix K of only numbers and my force vector F is zeros.
> I cannot just solve
> d=K\F
> because it gives me the trivial zero solution. I have to insert an
> equation based on a diagonal matrix M such that

Use the NULL function to determine a basis for the nullspace of K.

Steve Lord
To contact Technical Support use the Contact Us link on

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.