From: Md. Shahriar Karim on
Hi,

I am given a vector A = [..............] that describes a function say f(x). Now, I am supposed to find the derivative of this function df/dx. I would like to use the monte carlo approach to solve this instead of polyfit and polyder of matlab.

Can any one suggest me some way to approach this problem?

Thanks in advance,


Shahriar