octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should interp1.m function allow jumps in X-values?


From: Michael D Godfrey
Subject: Re: Should interp1.m function allow jumps in X-values?
Date: Tue, 21 Aug 2012 20:49:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

On 08/21/2012 08:05 PM, Ben Abbott wrote:
I sorted both.  The Y(n) part was further down.

> 	X = [ 2 1 3 2];
> 	Y = [ 2 1 3 10];
> 	[X, n] = sort (X, "descend")
> 
> X =   3   2   2   1
> n =   3   1   4   2
> 
> 	Y = Y(n)
Ben
OK.  So, how can this differ from the same operation within interp1?
Again, I would like to see the documentation brought into understandable
form so that the behavior can be better understood before making more
changes.

Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]