Update PT code in Block RIP
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
M = 10;
|
||||
N = 320 + 160;
|
||||
epi = 0.02;
|
||||
[pt_block, pt_sparse] = block_phase_transition(N, M);
|
||||
plot(pt_sparse);
|
||||
% hold on;
|
||||
% plot(pt_sparse);
|
||||
% xlim([1, 5]);
|
||||
ylim([1, N]);
|
||||
xlabel("Sparsity (k)");
|
||||
ylabel("Number of measurements (n)")
|
||||
legend("Block sparse recovery", "Sparse recovery");
|
||||
title("Phase Transition Curve (N = "+string(N)+", M = "+string(M)+")");
|
||||
Reference in New Issue
Block a user