I now set the if-condition like that:
if (t{n}.sh(x) >= 0.95 * t{n}.DiffMileagekm(x)) && (t{n}.sh(x) <= 1.05 * t{n}.DiffMileagekm(x))
Is there a better way to do that - or is it just fine like that?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!