Skip to content

Commit

Permalink
Update H0fun.m
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymchristensen committed Mar 25, 2017
1 parent dba1101 commit 55f000b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions replication/H0fun.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
function H0 = H0fun(x,design)

if design == 1
% H0 = 2.2*x;
H0 = -2+4*x;
elseif design == 2
% H0 = cos(2*pi*x);
H0 = log(abs(16*x-8)+1).*sign(16*x-8);
end
end

0 comments on commit 55f000b

Please sign in to comment.