Please, how do I implement this on MATLAB? I would like to find the difference between the value of let say x3 minus the maximum value of y that fulfils the condition x3>= y(–)? For example, if x= [106, 306, 407, 607, …] and y = [101, 201, 301, 401, 501,…], at x(3), this difference will be 407 – 401 (401 is the max value less than x(3)).
for i= 1: 100x = [x1,x2,x3,...]y= [y1,y2,y3,...]Time = %the difference between the value of let say x3 minus the maximum value of y that fulfils the condition x3>= y(--)?
end
Best Answer