Change parfor & Add simulaton result

This commit is contained in:
Ksyer
2023-11-01 09:38:00 +08:00
parent 49e4a17f5c
commit 4881771558
2 changed files with 3 additions and 3 deletions
BIN
View File
Binary file not shown.
+3 -3
View File
@@ -3,9 +3,9 @@ M = 100;
T = 50; T = 50;
prob = zeros(N, M); prob = zeros(N, M);
parfor n = 1: N for n = 1: N
for s = 1: M parfor s = 1: M
prob(n, s) = get_recovery_prob(n, s, T); prob(n, s) = get_recovery_prob(n, s, T);
end end
end end
heatmap(prob) c