Files
FAR_CS/get_recovery_prob.m
T
2023-10-31 11:16:35 +08:00

7 lines
130 B
Matlab

function x = get_recovery_prob(n, s, N)
x = 0;
for t = 1: N
x = x + can_recovery(n, s);
end
x = x / N;
end