diff --git a/matlab/peak_detect.m b/matlab/peak_detect.m index f6b9ee1..f9278ae 100644 --- a/matlab/peak_detect.m +++ b/matlab/peak_detect.m @@ -160,7 +160,7 @@ for k=1:numFrames % Find peak widths left = pos; right = pos; - nom = Xd(pos) - 10; + nom = 10; left_found = 0; right_found = 0; pbh = 0;