forward difference

I need help in getting started on how to create a function that calculates the derivative of f(x)=a*x+b*x.^2+c*x.^3+d*sin(m*x)+g*exp(h*x) given that a,b,c,d,m,g,and h are constants and are known on the interval (0,2*pi) using forward difference method. I am new to matlab so I don't know how to even get started with this. if anyone could help me and give me some tips on how to start this please.!!!

Answers (2)

Jan
Jan on 13 Feb 2011
Read the "Getting Started" chapters of the documentation. If you search for a specific topic, these commands help:
lookfor difference
docsearch difference

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 11 Feb 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!