$ 0 0 Hi Carlos,Dieter - this solution helped me immensely in my problem. however, I have one question - how would you deal with two dimensional data e.g. instead of id_n hi_n low_n ----------- ----------- ----------- 1 10 12 2 1 5 3 27 30 I have table 1 - low_in hi_n 0 500 table 2 - low_in hi_n 0 1500 table 3 - output low_n hi_n 0 0 0 1 0 2 . . . . 0 1500 1 0 1 1 . . . . 1 1500 . . . . 500 1500
Hi Carlos,Dieter -
this solution helped me immensely in my problem.
however, I have one question - how would you deal with two dimensional data e.g. instead of
id_n hi_n low_n
----------- ----------- -----------
1 10 12
2 1 5
3 27 30
I have
table 1 -
low_in hi_n
0 500
table 2 -
low_in hi_n
0 1500
table 3 - output
low_n hi_n
0 0
0 1
0 2
. .
. .
0 1500
1 0
1 1
. .
. .
1 1500
. .
. .
500 1500