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: interp2 can not handle matrix input??
Replies: 8   Last Post: May 6, 2013 4:11 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
hanciong awesome

Posts: 21
Registered: 1/11/12
Re: interp2 can not handle matrix input??
Posted: May 4, 2013 10:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi dpb,

The problem only exists in 2012b, exactly the version you are using. In matlab 2012a, there is no such problem.

dpb <> wrote in message <km36h5$g8$>...

> Well, again I'm rushed but here
> ...
> ====================
> 1 2
> 3 4
> 0.3679 0.3679
> 0.1353 0.1353
> 0.3679 0.2231
> 0.1353 0.0821

> >>
> First column same; second isn't.

> >> ver
> -----------------------------------
> MATLAB Version: (R2012b)
> ...
> I recall was some discussion re: interpX here relatively recently re:
> features being removed and that some areas were a little funky in what
> had been added as extensions. I know at that time was before had
> received the R2012b release and there were differences in how my release
> (R12) handled some and didn't have some of the added cases that are, by
> reading the doc, confusing at best in their description.
> I also recall there being one problem in interp1 array inputs in early
> release including R12 where if number of interpolants was greater than
> number of terms in the table (columns>rows, iow), the order of
> interpolation was swapped owing to the internal use of length() in the
> function instead of size(x,1). Whether something like that has happened
> again in a particular release I have no idea but on this release here,
> at least, I seem to see OP's time to delve into what's
> going on at the moment, though, this has to be just a "drive by", sorry...
> --

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.