The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: interpolation question
Replies: 5   Last Post: Oct 8, 2012 4:35 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jonathan Allan

Posts: 123
Registered: 12/7/04
Re: interpolation question
Posted: Oct 8, 2012 12:39 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <> wrote in message <k4uv60$qqq$>...
> On 10/8/2012 11:27 AM, Jonathan wrote:
> > Hi,
> >
> > I have a cross-section and I'm trying to interpolate the cross-shore
> > (i.e. x) location(s) given identified depths of interest. Is there a
> > function in matlab that can do this? I've looked at interp1, but it's
> > the reverse of what I am trying to do (i.e. interpolate y based on
> > x-values).

> That's just a frame-of-reference...interp1() doesn't care which is the
> independent vis a vis dependent variable...
> --

I thought about that. However, when I reversed the order, Matlab gave me an error saying that the y-values needed to be monotonic.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.