summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/svm/src/matlab/randWrapper.m
blob: dbef132db911f1365fe04c7184be09d5374b0c9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function out = randWrapper(m,n)

out = zeros(m,n);

seed = 0.9;
for i=1:m
    for j=1:n
        if(i<j)
            out(i,j) = seed * (i/j);
        else
            out(i,j) = seed * (j/i);
        end
    end
end

end