- Any given Point (x,y) will be on/within a triangle of neighboring points A, B, C.
- Find the Points A B C of that triangle and then identify the gradient (hint: normal vector gets you there) in 3D of the area ABC.
Calculate derivative with 3 matrices
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello. Given 3 matrices, X, Y and Z, how can I approximate the derivative on Z on a given point (x, y) ?
I'm not supposed to use the gradient function.
Any help highly appreciated.
댓글 수: 0
답변 (1개)
dbmn
2017년 4월 21일
What would you do if you only had 1 Dimension?
You would do (y2-y1)/(x2-x1) with x2 being the nearest x to x1. Do exactly the same with multiple Dimensions.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!