SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
Synergy 0.9.2
3,614
aircrack 1.0RC1
1,728
Scary Maze
1,260
Virtual Floppy Drive
2.1

1,060
QuickPlay 3.8.4
1,033
JDownload 0.9
848
Netcat 0.7.1
820
DjVu 0.8.0.9
798
Flash Flip Book
2.0.1

730
Scary Maze 2 1.1
633
Home / Scripts / Scientific/Engineering / Mathematics

Numerical derivative of analytic function




Downloads: 230  Add to download basket  Tell us about an update
User Rating:
Rated by:
Fair (2.7/5)
19 user(s)
Developer:

License / Price:
Platforms:

Databases:

Language:

Last Updated:

Category:
Daniel Ennis | More scripts
Freeware 
Windows / Linux / Mac OS / BSD / Solaris
N/A
Matlab
August 23rd, 2007, 12:19 GMT
C: \ Scientific/Engineering \ Mathematics

 Read user reviews (0)  Add a review  Refer to a friend  Subscribe

 

Numerical derivative of analytic function description

 

Numerical derivative of analytic function - Calculate the numerical derivative of an analytic function with different methods.

This function returns the numerical derivative of an analytic function. Of special note, is the incorporation of the "complex step-derivative" approach which offers greatly improved derivative accuracy compared to forward and central difference approximations. This is especially germain when accuracy at the level of machine precision is a concern.

SYNTAX: dfdx=deriv(f,x,h,method)

INPUTS: f - A function a handle (eg f=@(x) sin(x))
x - Interval over which f(x) is defined
h - Derivative step-size
method - Numerical methods used to compute derivative
'forward2' - Two point forward difference
'forward3' - Three point forward difference
'central2' - Two point central difference
'central4' - Four point central difference
'complex' - Complex step-derivative approximation
OUTPUTS: dfdx - Numerical estimate of the derivative of f(x)

Requirements:

· MATLAB Release: R14SP3





TAGS:

Numerical derivative | analytic function | matlab mathematics | Numerical | derivative | analytic

Related downloads IT News Popular downloads New additions   Latest reviews  
naninterp
naninterp - One dimensional Interpolation over NaNs.
INSERTROWS
INSERTROWS - Insert rows into a matrix at specific locations
fshift
fshift shifts the elements of an array by a (possibly non-integer) given number of elements.
unique_no_sort
unique_no_sort - Like unique.m but without sorting
matlab mep
mep creates epochs (0|1) in a logical array according to a list of indices (begin:end).


HTML code for linking to this page:


Go to top



SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM