Gradient for scattered data
版本 1.0.0.0 (2.3 KB) 作者:
Duane Hanselman
Compute gradient on triangle faces or their vertices for triangulated data
[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.
引用格式
Duane Hanselman (2025). Gradient for scattered data (https://www.mathworks.com/matlabcentral/fileexchange/38857-gradient-for-scattered-data), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R14
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Triangulation Representation 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |