📄 set_electrodes.cat
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -