A=[9.9090 8.3211 9.57639.7926 8.2055 9.43359.3428 7.7533 8.8443]
COMPARED TO
B=[7.9 9.5 9.58.7 10.3 10.39.5 11.1 11.110.3 11.9 11.911.1 12.7 12.711.9 14.3 14.3]
i need code that compares each row of A with each row of B
choosing the very next value from B for each element in A
elaboration:-
first element in A is 9.9090 comparing it to first row in B
7.9 is less so rejected
8.7 is less so rejected
9.5 is less so rejected
10.3 is more so acceped
result= 10.3 9.5 10.310.3 9.5 9.59.5 9.5 9.5
Best Answer