My algorithm concentrate only on max Value of Y not minimum value of X=x1+x2.
x1= [ 2 5 6 7 8 3],x2= [ 3 5 6 8 9 3],X=x1+x2=[ 5 10 12 15 17 6], Y= [30 22 40 40 40 40],
max value of Y is 40 so it pick up 12 not 6.
mathematicsMATLAB
x1= [ 2 5 6 7 8 3],x2= [ 3 5 6 8 9 3],X=x1+x2=[ 5 10 12 15 17 6], Y= [30 22 40 40 40 40],
Best Answer