Question: Write a Matlab function which takes a function f(x) in the form x and y discrete points with at least 5 data points and calculates

Write a Matlab function which takes a function f(x) in the form x and y discrete points with at least 5 data points and calculates the f'(x) and f'(x) by FDA of O(h). The code should recognize which of FDA schemes, i.e. backward, central and forward, is suitable and should be used for each of the points. Write a Matlab function which takes a function f(x) in the form x and y discrete points with at least 5 data points and calculates the f'(x) and f'(x) by FDA of O(h). The code should recognize which of FDA schemes, i.e. backward, central and forward, is suitable and should be used for each of the points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
