📄 gradmat.m
字号:
function G = Gradmat(mesh)% Computes the topological gradient matrix of the mesh%% mesh -> Data structure for 2D unstructured mesh% % the gradient matrix is the incidence matrix of oriented edges and% vertices. % G = sparse(mesh.Ne,mesh.Nv);for i=1:mesh.Ne G(i,mesh.ep(i,1)) = -1; G(i,mesh.ep(i,2)) = 1;end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -