How to derive the 2D field and convergence based on xy gradients
2 views (last 30 days)
Show older comments
Hi all
This might be an easy question but I am a bit stuck on it. The function gradient yields xy gradients of a 2D field:
[px,py] = gradient(z);
But how do I move the other way? I.e.: z=f(px,py) where I have px and py and f is the unknown function/mechanism. My first thought revolves around using filter2 but I can't seem to figure it out.
Secondly: What would be an easy way to determine whether a region is subject to convergence/divergence?
Any thoughts?
Cheers
Jakob
0 Comments
Accepted Answer
Torsten
on 1 Apr 2015
For your first question:
https://www.mathworks.com/matlabcentral/newsreader/view_thread/313599
For your second question:
I don't understand what you mean by: determine whether a region is subject to convergence/divergence ?
Best wishes
Torsten.
0 Comments
More Answers (2)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!