I sorted out the problem, however it seems that the curl is too big at the extremes of the domain... any idea how to fix this?
Problem in computing the curl of 2D velocity vector field
4 次查看（过去 30 天）
I'm trying the compute the curl of a 2D velocity vector field using the function
[curlz,cav] = curl(X,Y,UU,VV);
X, Y are generated using meshgrid. However I obtain a matrix of NaNs and + - Inf ... Do you know what's happening? I think I followed the correct instructions from the Matlab Help... Please let me know.