Skip to content

fast code

3 messages · Pantelis Andreou, Janusz Kawczak

#
Hello again,
I think I made a mistake discribing the problem.
I have two column vectors x1 and x2 both in increasing order. 
I need a column vector x3 such that
the jth entry of x3 is the maximum ith entry x1 which is smaller
than the jth entry of x2.
Regards,
Pantelis
#
Example would help!
On Fri, 6 Dec 2002, Pantelis Andreou wrote:

            
#
Hello again,
here is an example
x1      x2      x3
3       3.1     3
4       4.2     4
6.5     5	4
20      24	20
35      38	35
On Fri, 6 Dec 2002, Janusz Kawczak wrote: