aboutsummaryrefslogtreecommitdiff
path: root/abcd_free_space.m
blob: d260d7d8f19285f0ea295b4a5c95d8681358339a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function fs_abcd = abcd_free_space( distance)
% abcd matrix for the free space region of given distance
if (length(distance) == 1)
    fs_abcd=[1, distance; 0,1];
else
    for i=length(distance):-1:1
        fs_abcd{i}=[1, distance(i); 0,1];
    end
end
end