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.!!!
|
|
0
|
|
|
|
Reply
|
Estela
|
2/11/2011 5:57:03 PM |
|
"Estela" wrote in message <ij3t9f$hum$1@fred.mathworks.com>...
> 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.!!!
doc diff
|
|
0
|
|
|
|
Reply
|
Sean
|
2/11/2011 6:14:05 PM
|
|