Files
matlab/common/clusters/fpoints.m
T
2022-06-30 13:32:40 +02:00

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;