PLEASE HELP: Numerical Differentiation on a Polynomial Fuction using Backwards, Forward and Centre methods.

Hi everyone
I really need help with the following problem I was given to work on. It may be simple for someone who is good with MatLab, but I dont even know where to start.
If I have a polynomial function like 3*x^2-2*x+5
the MatLab script I need to write has to do the following:
  • Find Backwards Difference
  • Find Forwards Difference
  • Find Centre Difference
  • Allow to set limits
  • Allow to set number of strips
  • Include a parameter which will differentiate the given polynomial function
  • Function Must contain a loop (and be done with mostly basic commands as we are doing entry level MatLab)
I have been given some notes, but I don't really understand them, also in what ways limits and strips apply? When The notes only show that the calculations are concerned with one location of x.
Any help at all would be greatly appreciated.
The actual question and the notes I was given can be seen below:

답변 (3개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2013년 6월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by