📄 n_locate.m
字号:
function iloc = n_locate(i_max,node)
%N_LOCATE Finds the index of node within an i_max by 1 vector of nodes
%Kai Borre 07-31-97
%Copyright (c) by Kai Borre
%$Revision: 1.0 $ $Date: 1997/09/26 $
global nodes
for i = 1:i_max
if (nodes(i) == 0)
iloc = i;
nodes(i) = node;
break;
end;
if (nodes(i) == node)
iloc = i;
break;
end;
end;
%%%%%%%%%%%% end n_locate.m %%%%%%%%%%%%%%%%%%%%%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -