Topic 12.1: Centred Divided-Difference Formulae (Matlab)

Contents Previous Chapter Start of Chapter Previous Topic Introduction Notes Theory HOWTO Examples Engineering Error Questions Matlab Maple Next Topic Next Chapter

In Matlab, you would approximate the derivative numerically:

>> ( sin( 1.7 ) - sin( 1.3 ) )/0.4

which would approximate the actual derivative of cos(1.5).

Copyright ©2005 by Douglas Wilhelm Harder. All rights reserved.