step_length_correction.m 144 Bytes
Newer Older
1
2
3
4
5
6
function c = step_length_correction(x,scale,i)
    if isempty(scale)
        c = 10^round(log10(abs(x)));
    else
        c = scale(i);
    end