This commit is contained in:
xinxiao
2026-03-13 11:24:41 +08:00
commit 04e2bb29c7
238 changed files with 29102 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
function [ pos ] = find_row( struc_x,N )
%FIND_ROW
%
sz=size(N,1); %a的行列数
pos=[]; %
for i=1:sz %sz(1)a的行数
if(isequal(N(i,:),struc_x))
pos=[pos;i];
end
end
% nei_grid反序
struc_x_inv=[struc_x(2),struc_x(1)];
for i=1:sz %sz(1)a的行数
if(isequal(N(i,:),struc_x_inv))
pos=[pos;i];
end
end
end