Numerical Integration using intgrad3
이전 댓글 표시
Hi,
I am trying to calculate the surface from gradient. And I am using intgrad3 get there. The function runs without throwing an error but the surface doesnot look normal to the gradient. Also the values in the ouptut produced by intgrad3 are way higher than what I expect. I realize this may be because of the constant of integration but the range is high too. Any ideas of what I might be doing wrong?
Here is the data and the function:
답변 (1개)
darova
2020년 3월 11일
0 개 추천
If i understood you correctly: you have normal vector and want to rebuild surface
So for each vector you can create small plane as below

all you have to do is place that plane in appropriate Z coordinate

results

카테고리
도움말 센터 및 File Exchange에서 Clustering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!