This paper deals with the approximation of smooth functions using canonical piecewise-linear functions. The developing of tools in the field of analysis and control of nonlinear systems based on this kind of functions, as well as its efficiency in the representation of electronic devices, motivates the development of useful methods to obtain accurate approximations. A recursive method is proposed to obtain simultaneously all the parameters required and its convergence is studied. In addition, an iterative method to introduce new partitions on the domain, when the error obtained is not satisfactory, is described. This method takes advantage of the partitions already found to reduce the total number of parameters that the algorithm has to handle.
展开▼