moved
git-svn-id: http://moon:8086/svn/matlab/trunk@92 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
function d = randi(range, numRows, numCol)
|
||||
|
||||
if length(range) == 2
|
||||
s = range(2) - range(1);
|
||||
off = range(1);
|
||||
else
|
||||
s = range;
|
||||
off = 0;
|
||||
end
|
||||
d = fix(s*rand(numRows, numCol)+0.5) + off;
|
||||
Reference in New Issue
Block a user