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: Error using interp1 function
Replies: 11   Last Post: Jun 28, 2013 5:51 PM

Advanced Search

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

Posts: 75
Registered: 4/23/12
Re: Error using interp1 function
Posted: Dec 5, 2012 1:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks a lot for the help !

Well, in fact my 2 sets of results are :

- d starts from 0 and goes up to 1517 (not linear growing but still always growing)
- time3 starts from 0 and goes up to 29.9 (growing linear)

I can plot this set of results without any problem and I can spot for example that at time3=20, d=800. But when I'm trying to use the function :

AAA=interp1(d, time3, 200, 'linear','extrap')

It doesn't want to calculate it.

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.