keep getting title error message with this code in MATLAB.
a=exp(-1);o=0.009931621960609;x2=-2.5:0.1:9.5;y2=0.5*exp(-a(x2-(0.5*o^2*a)))*(1+erf((x2-o^2*a)/sqrt(2)*o));
o is standard dev of data, a is placeholder value for decay constant.
convolutionerror functionexponentialgaussianMATLAB
a=exp(-1);o=0.009931621960609;x2=-2.5:0.1:9.5;y2=0.5*exp(-a(x2-(0.5*o^2*a)))*(1+erf((x2-o^2*a)/sqrt(2)*o));
Best Answer