Numerical Integration using intgrad3
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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:
2 Kommentare
darova
am 10 Mär. 2020
Do you have another data (not so large) ? I don't know if my computer can handle it
The question is unclear: what are you trying to do? Calculate area?
Antworten (1)
darova
am 11 Mär. 2020
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/276582/image.png)
all you have to do is place that plane in appropriate Z coordinate
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/276583/image.png)
results
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/276584/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/276585/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/276586/image.png)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!