PDA

View Full Version : Divergence with Matlab


abcdgb
Jul30-10, 12:40 PM
I need help to calculate divergence in 2D with Matlab.
I need to use divergence application so I realized, the command should be div = divergence(X,Y,U,V)
The problem is that I don't know how to use it. How can I associate the function given in the problem to that command? I need an example please, I can't find any =(