Importers added
[ltsps.git] / generateRandomCoordMatrix.m
blob0a91d6106aaa1972dfa36fd285d80d6bb9e316b7
1 function coordMatrix = generateRandomCoordMatrix(n, max)
2     coordMatrix = zeros(n,3);
3     
4     for i=1:n
5         x = unidrnd(max);
6         y = unidrnd(max);
7         
8         coordMatrix(i,1) = i;
9         coordMatrix(i,2) = x;
10         coordMatrix(i,3) = y;
11     end
12 end