makemonsterwalk.m

来自「beamlet变化的工具箱」· M 代码 · 共 31 行

M
31
字号
%  MakeMonsterWalk -- Make a monster walk image%   Usage%     img = MakeMonsterWalk(n,c,lambda);%   Inputs%     n        image is n by n.%     c        constant to control the variance of directional deviation, %              which is (pi/c)^2. %     lambda   the mean of the stepsize, which has exponential distribution%   Output%     img      output image%   Description%     It starts from the image center, then choose a random curvature, and %     a random step distance to walk to the next point. We repeat this %     procedure.%   See Also%     workoutm03%%% Part of BeamLab Version:200% Built:Friday,23-Aug-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%%% Part of BeamLab Version:200% Built:Saturday,14-Sep-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?