求人脸识别算法matlab代码,能运行的!

2024-11-08 05:39:24
有2个网友回答
网友(1):

SUB_WNL:
PUSH PSW
MOV A, SJ
ACALL BCD2BIN_MOD4
; x 400年: (大周期)
; =146097天 = 7 * 20871 + 0 天
; x 100年:
; 000年 = 7 * 0 + 0 + 1 - 1 1 = 0 * 2 + 1 ****
; 100年 = 7 * 5217 + 7 + 1 - 2 2 = 1 * 2
; 200年 = 7 * 10435 + 7 + 1 - 4 4 = 2 * 2
; 300年 = 7 * 15653 + 7 + 1 - 6 6 = 3 * 2
; {1,2,4,6}

网友(2):

end;
[t, u] = min(temp); % it starts from node with the shortest distance to the source;
visited(u) = 1; % mark it as visited;
for v = 1:n, % for each neighbors of node u;
if ( ( netCostMatrix(u, v) + distance(u)) < distance(v) )
distance(v) = distance(u) + netCostMatrix(u, v); % update the shortest distance when a shorter path is found;
parent(v) = u; % update its parent;
end;
end;