/usr/share/freemat/toolbox/fitting/gfitfun.m is in freemat-data 4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | % Copyright (c) 2002-2007 Samit Basu
% Licensed under the GPL
function y = gfitfun(x,times)
y = x(4)*exp(-((times-x(1)).^2)/(2*x(2)^2)) + x(3);
|