Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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: 115
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 <none@non.net> wrote in message <k4uv60$qqq$1@speranza.aioe.org>...
> 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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.