can anyone please explain me this code ..exactly whats happening here while computing curvature ?
1 回表示 (過去 30 日間)
古いコメントを表示
function k = curvature_central(u)
% compute curvature
[ux,uy] = gradient(u);
normDu = sqrt(ux.^2+uy.^2+1e-10);
Nx = ux./normDu;
Ny = uy./normDu;
[nxx,junk] = gradient(Nx);
[junk,nyy] = gradient(Ny);
k = nxx+nyy;
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Math Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!