Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

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

 Messages: [ Previous | Next ]
 Steven Lord Posts: 18,038 Registered: 12/7/04
Re: interpolate
Posted: Dec 30, 2012 11:49 PM

"dpb" <none@non.net> wrote in message news:kbl55f\$d1g\$1@speranza.aioe.org...
> On 12/28/2012 3:35 PM, maryam wrote:
> ...
>

>>> Here is a simple code, that Matlab wouldn?t run it:
>>>

> ...
>

>>> I didn?t know how to round d vector?
>>> And how could I interpolate rows of s matrix?
>>>
>>> I would really appreciate your kind help

>> ------------------
>> One thing I forgot, after interpolation we shift its value to nearest
>> element

>
> This is getting more, not less confusing all the time...I have no idea
> what the last is intended...
>
> Again, give a _small_ dataset and a desired result and a rule for how you
> got the result from the input. Giving non-working code for an
> ill-specified problem is of no help in explaining a desired algorithm.

I'm going to make dpb's request more specific. For this specific matrix:

A = [1, 2, 4; 7, 12, 22; 8, 19, 45]

What EXACTLY do you want the result of the interpolation you described to
be? If possible also show the steps/calculations you'd perform to obtain
that result if you had to perform the interpolation using pencil and paper.

--
Steve Lord
slord@mathworks.com
http://www.mathworks.com

Date Subject Author
12/26/12 maryam
12/26/12 dpb
12/26/12 maryam
12/26/12 dpb
12/26/12 maryam
12/27/12 dpb
12/28/12 maryam
12/28/12 maryam
12/28/12 maryam
12/28/12 dpb
12/30/12 Steven Lord
12/31/12 dpb
4/9/15 rakeshElango
4/9/15 Steven Lord