This is a great suggestion. For any practical applications, it is advisable to vectorize the code Posted on Matlab Exchange and I would like to suggest using a higher order formula to calculate the derivatives.
This is a great suggestion. For any practical applications, it is advisable to vectorize the code Posted on Matlab Exchange and I would like to suggest using a higher order formula to calculate the derivatives.