This commit is contained in:
Ksyer
2023-10-31 11:16:35 +08:00
parent 1855803227
commit 6cd6d8b52f
4 changed files with 56 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
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