is_a_branch_point.m
来自「matlab代码」· M 代码 · 共 26 行
M
26 行
function result = is_a_branch_point(x,y, branch_list);
%check position (x,y) is in the list or not
% return 1 is true , 0 otherwise
[number, dummy] = size(branch_list);
result = 0;
for i = 1:number
if branch_list(i,1) == x & branch_list(i,2) == y
result = 1;
break;
end;
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?