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: How function gradient work?
Replies: 4   Last Post: Jan 18, 2011 1:02 AM

Advanced Search

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

Posts: 19
Registered: 11/27/09
Re: How function gradient work?
Posted: Jan 18, 2011 1:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Matlab gradient function::

this uses a finite difference approach to solution.
it applies forward difference to first and last data points and applies
central differencing to the data between::
X F dF/dX
0 3 (10-3)/(1-0)
1 10 (1-3)/(2-0)
2 1 (1-10)/(2-1)

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.