|
From: | Michael D Godfrey |
Subject: | Re: Should interp1.m function allow jumps in X-values? |
Date: | Tue, 21 Aug 2012 20:01:25 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/21/2012 07:50 PM, Ben Abbott
wrote:
Did you really mean to only sort X? It seems toX = [ 2 1 3 2]; Y = [ 2 1 3 10]; [X, n] = sort (X, "descend") me that both X and Y should be sorted using the same option. Does this work? I do not see how it could different than your option for -right or -left. But, again this is an argument of leaving the code as it is until it is better understood and documented. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |