5 point differentation in Matlab
이전 댓글 표시
Hi,
Can anyone please guide me as to how to perform 5 point differentiation n Matlab, what does 5 point differentiation mean?
Thanks
댓글 수: 7
Matt Fig
2012년 9월 4일
Matt Tearle
2012년 9월 4일
5 points to Matt Fig!
Usman
2012년 9월 5일
Matt Fig
2012년 9월 5일
Nobody meant to taunt you, Usman. The link I pasted above has the exact formula for 1-D and also explains what h is:
"In one dimension, if the spacing between points in the grid is h, then the five-point stencil of a point x in the grid is..."
So you just need to pick a small value for h (the distance between each of the 5 points on the curve). Once you start writing code, post it and I am certain you will get more help.
Jan
2012년 9월 5일
@Usman: You asked for a term, Matt Fig showed you how to find its definition and the short period of time means a friendly suggestion to ask Google by your own the next time. If you even want a Matlab implementation, you can ask Google again for "Matlab 5 point differentation". If you are still not satisfied, ask a specific question.
Matt Tearle
2012년 9월 5일
Usman, note the tags that have been added... See what the tutorial says about those...
You asked what 5-pt differentiation means, and Matt showed that a quick search will provide the answer. As to implementing it in MATLAB, maybe you should provide a starting point so that we can help you. Otherwise, it looks a bit like you expect random volunteers on the internet to do your work/homework for you.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!