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: interpolate
Replies: 14   Last Post: Apr 9, 2015 1:34 PM

Advanced Search

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

Posts: 17
Registered: 12/25/12
Re: interpolate
Posted: Dec 26, 2012 6:03 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <> wrote in message <kbfhar$1lo$>...
> 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????

This question has already been answered?
I searched but I didn't find it

thank you very much for your answer but I mean we have a matrix n-by-m:
assume M= [a b c;d e f; g h i]
I want to interpolate its rows so that is equal to
M=[a a+d a+2d a+3d ... 7d b b+d ... b+7d c... c+7d ; d... d+7d... f+7d ; g ... i+7d]
Can you explain me how I could do 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.