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: interpolate
Replies: 12   Last Post: Dec 31, 2012 9:33 AM

Advanced Search

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

Posts: 7,891
Registered: 6/7/07
Re: interpolate
Posted: Dec 26, 2012 1:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12/26/2012 12:29 PM, maryam wrote:
...
> how could I interpolate rows of a matrix so that original value of rows
> don't change?


Didn't we do this before the holidays?????

doc interp1

>> X = 0:10; V = sin(X); Xq = 0:.25:10;
>> Vq = interp1(X,V,Xq);
>> all(Vq(Xq==fix(Xq))==V)

ans =
1
>>


What else do you need????

--






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.