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: 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 ]
Matt

Posts: 74
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]

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