mapi
Mechanical
- Jan 30, 2007
- 53
What is the algorithm of gradient?
FX=gradient(F,x);
FX(i)=(F(i+1)-f(i-1))/(x(i+1)-(i-1))??
How about FX(1) and the gradient at the last point?
Thanks,
Mapi
FX=gradient(F,x);
FX(i)=(F(i+1)-f(i-1))/(x(i+1)-(i-1))??
How about FX(1) and the gradient at the last point?
Thanks,
Mapi