Skip to content

Commit

Permalink
Update demon_CS.m
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenglongZhou authored Mar 9, 2021
1 parent 762996b commit 63ba998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NHTP/demon_CS.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
case 1 % Input data by our data generation function
ExMat = 1;
MatType = {'GaussianMat','PartialDCTMat'};
data = compressed_sensing_data(MatType{ExMat},m,n,s,0);
nf = 0;
data = compressed_sensing_data(MatType{ExMat},m,n,s,nf);
pars.eta= 0.5*(nf>0)+(nf==0);
case 2 % Input any data including (data.A, data.At, data.b), e.g.,
data.A = randn(m,n)/sqrt(m);
data.At = data.A';
Expand Down

0 comments on commit 63ba998

Please sign in to comment.