Is it possible to provide any arguments to
FindFormula to force it to avoid using
Piecewise in the result, but instead try to find the best fit using expressions constructed only from functions specified in
To give a concrete example, consider e.g. the data in this question.
FindFormula will always return a
Piecewise expression with many pieces:
In many (most?) applications, it is reasonable to assume that the function is smooth, and a piecewise result is simply not useful.