can anyone please explain me this code ..exactly whats happening here while computing curvature ?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Math Operations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!