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!