| MATLAB Central > MATLAB Newsreader > Interpolation |
|
|
|
I have some data that I want to smooth out in three dimensions. I have tried interp2 with the spline method, and it changes the original data. I have tried interp1 on each row of data with cubic and spline and it too changes the original data. |
|
"Travis" <sinusoid2@hotmail.com> wrote in message <gtpogi$ncc$1@fred.mathworks.com>... |
|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <gtpu2l$gm3$1@fred.mathworks.com>... |
|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <gtpu2l$gm3$1@fred.mathworks.com>... |
|
So it looks like interp2 does not keep the datapoints when the next data point is NaN. Does anyone know a way to change this? |
|
"Travis" <sinusoid2@hotmail.com> wrote in message <gtq242$mue$1@fred.mathworks.com>... |
|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <h0sac9$5cn$1@fred.mathworks.com>... |
|
"Travis " <sinusoid2@hotmail.com> wrote in message <h0scup$i72$1@fred.mathworks.com>... |
|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <h0sdum$lbv$1@fred.mathworks.com>... |
|
"Travis " <sinusoid2@hotmail.com> wrote in message <h0shkp$grg$1@fred.mathworks.com>... |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h0sq2p$b8o$1@fred.mathworks.com>... |
|
Does anyone have any other ideas on how to force MATLAB to preserve the original datum points during interpolation? |
|
Travis wrote: |
|
|
|
Travis wrote: |
|
OK here are the variables used. |
|
Travis wrote: |
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.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| interpolation | Travis | 5 May, 2009 12:14:03 |
Contact us at files@mathworks.com
