Skip to content

Commit

Permalink
fixed typos and variable reparameterization
Browse files Browse the repository at this point in the history
  • Loading branch information
jihyunbak committed Aug 2, 2019
1 parent 6a1625f commit c35e5d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo1_prepCorr_HiC.m
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
% from 0 to r_cutoff, with the elements of G (gamma) in the integrand.
% Here we change the variable of integration such that:
%
% t = gamma * r^2
% t^2 = gamma * r^2
%
% which is a dimensionless parameter.

Expand All @@ -201,7 +201,7 @@
% === prepare an inversion table

% the integrand
myfun = @(t) sqrt(2/pi)*(t.^2).*exp(-(1/2)*t.^2);
myfun = @(t) 4/sqrt(pi)*(t.^2).*exp(-t.^2);

% set up t grid
dt = 0.05;
Expand Down

0 comments on commit c35e5d0

Please sign in to comment.