12 lines
134 B
Matlab
Executable File
12 lines
134 B
Matlab
Executable File
% fpoints.m
|
|
|
|
function fp = fpoints(dim,len, pos)
|
|
|
|
fp = randn(dim,len);
|
|
|
|
for d=1:dim,
|
|
fp(d,:) = fp(d,:) + pos(d);
|
|
end;
|
|
|
|
|