set_electrodes.cat
来自「用来实现三维阻抗及光学断层成像重建的matlab程序」· CAT 代码 · 共 23 行
CAT
23 行
function [ele_face,sels,cnts,VV] = set_electrodes(vtx,srf,ele_face,sels,cnts,VV);You need to call this function recursively to sellect boundary faces building up the ele_face. You will need to reshape this matrix appropriately to get the elec matrix, depending on how many faces there are in each electrode.vtx = The vertices matrixsrf = The boundary surfacesele_face = A 3 column matrix holding the boundary faces to be used for constructing the electrodessels = The indices in srf matrix of the sellected surfacescnts = The coordinates of the center of each triangular boundary surface.VV = The last viewing angle.Call this function as follows[ele_face,sels,cnts,VV] = set_electrodes(vtx,srf,[],[],[],[30 60]);Only for the first time , for the first row of ele_face.and then ...[ele_face,sels,cnts,VV] = set_electrodes(vtx,srf,ele_face,sels,cnts,VV);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?