Forward Difference Method In Matlab