From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Piecewiese linear approximation function with a minimal largest error dev.
Date: Tue, 1 Jan 2013 14:07:08 +0000 (UTC)
Organization: Xoran Technologies
Lines: 8
Message-ID: <kbuqic$dkg$>
References: <kbu8d3$gcr$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1357049228 13968 (1 Jan 2013 14:07:08 GMT)
NNTP-Posting-Date: Tue, 1 Jan 2013 14:07:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:785706

"Deyan Levski" <> wrote in message <kbu8d3$gcr$>...
> Due to some hardware restrictions I will need to split the function in a number of uniform segments and then calculate the approximation points accordingly, but in such a way that the largest error is minimized (minmax sense).
> Are there any existing functions that can help me with this task, I've looked at interp1 but I am afraid it is not what I am really looking for? I will be very happy if someone can guide me with some ideas or literature about this mathematical problem.

If you have Optimization Toolbox, then fminimax() might be applicable