1 2 3 4 5 6
function qnew=q_after_abcd(q_start, distance) % calculates q parameter after propagating through free space qnew=q_old+distance; end