| MATLAB Central > MATLAB Newsreader > interpolating/smoothing w/ monotonically increa... |
|
|
|
Subject: interpolating/smoothing w/ monotonically increasing From: Pete sherer Date: 30 Oct, 2008 18:56:03 Message: 1 of 15 |
|
Hi, |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Bruno Luong Date: 30 Oct, 2008 19:14:03 Message: 2 of 15 |
|
"Pete sherer" <tsh@abg.com> wrote in message <ged003$oi7$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: John D'Errico Date: 30 Oct, 2008 19:43:01 Message: 3 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <ged11r$f59$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Pete sherer Date: 30 Oct, 2008 19:47:01 Message: 4 of 15 |
|
Thanks Bruno. I would prefer some kinds of interpolation in stead of doing regression which might not fit well at the end point (like left point). Is it doable? |
|
Subject: interpolating/smoothing w/ monotonically increasing From: John D'Errico Date: 30 Oct, 2008 20:58:01 Message: 5 of 15 |
|
"Pete sherer" <tsh@abg.com> wrote in message <ged2vl$ep1$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Pete sherer Date: 30 Oct, 2008 21:04:02 Message: 6 of 15 |
|
Wow - Thank you so much John for solving the problem. Amazing!! |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Bruno Luong Date: 30 Oct, 2008 21:57:01 Message: 7 of 15 |
|
You could use linprog if you prefer least-absolute or error-sum (linfity or l1) criteria instead of least-square deviation. |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Per Sundqvist Date: 30 Oct, 2008 23:12:02 Message: 8 of 15 |
|
"Pete sherer" <tsh@abg.com> wrote in message <ged7g2$ki3$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Bruno Luong Date: 30 Oct, 2008 23:26:02 Message: 9 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <gedajd$mp$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Bruno Luong Date: 13 Aug, 2009 10:01:03 Message: 10 of 15 |
|
An anonymous reader has solicited me to post the code of monotonic interpolation. As I do not own optimization toolbox I cannot check whereas LINPROG is correctly called and provides good result. But here we go. If you see any issue with linprog call please let me know. |
|
Subject: interpolating/smoothing w/ monotonically increasing From: John D'Errico Date: 13 Aug, 2009 11:52:02 Message: 11 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h60o8v$e66$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Bruno Luong Date: 13 Aug, 2009 12:22:01 Message: 12 of 15 |
|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <h60up2$dpn$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Bruno Luong Date: 13 Aug, 2009 17:51:05 Message: 13 of 15 |
|
A remark that might be relevant: once the points are adjusted monotonically, a Hermit cublic interpolation (PCHIP) can be used for higher order interpolation properly. The monotonic will be prevailed. |
|
Subject: interpolating/smoothing w/ monotonically increasing From: John D'Errico Date: 13 Aug, 2009 18:43:20 Message: 14 of 15 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h61jq9$5hq$1@fred.mathworks.com>... |
|
Subject: interpolating/smoothing w/ monotonically increasing From: Pete sherer Date: 14 Aug, 2009 00:07:02 Message: 15 of 15 |
|
Hi John, |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.
Contact us at files@mathworks.com