differenceOfGaussians1D.m 150 B

1234567
  1. function DoG = differenceOfGaussians1D(a, x)
  2. DoG = a(1) * exp(-((x - a(2)) / a(3)).^2) + ...
  3. a(4) * exp(-((x - a(2)) / a(5)).^2);
  4. end