My function is
function integralCO02(t)(2/sqrt(pi))*exp(-t^2)end
and when I try
2*integralCO02(5)
the error message 'Too many output arguments.' comes up.
The same happens for
anyconstante = integralCO02(5)
matlab functionoutput error
function integralCO02(t)(2/sqrt(pi))*exp(-t^2)end
2*integralCO02(5)
anyconstante = integralCO02(5)
Best Answer