Gradient for scattered data

Compute gradient on triangle faces or their vertices for triangulated data
679 Downloads
Aktualisiert 31. Okt 2012

Lizenz anzeigen

[dFx,dFy] = TRIGRADIENT(TRI,X,Y,Z) or TRIGRADIENT(TRI,X,Y,Z,'vertex') returns numerical gradients of the function z = F(x,y), dFx = dF/dx and DFy = dF/dy at the vertices of the triangles specified in TRI. dFx and dFy are column vectors having the same number of elements as X,Y, and Z.

[dFx,dFy] = TRIGRADIENT(TRI,X,Y,Z,'face') returns the numerical gradients that are constant over each triangle face. In this case, dFx and dFy are column vectors having M = size(TRI,1) elements.

Zitieren als

Duane Hanselman (2026). Gradient for scattered data (https://de.mathworks.com/matlabcentral/fileexchange/38857-gradient-for-scattered-data), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R14
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Triangulation Representation finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen
Version Veröffentlicht Versionshinweise
1.0.0.0