makecircle.m

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

M
27
字号
%  MakeCircle -- Make a circle, in a lazy way!%   Usage%     img = MakeCircle(n,center,radius);%   Inputs%     n      	size of output image is n by n%     center     center of image%     radius     radius of image%   Output%     img        n by n image%   Description%     viewing the image as extending from -n/2 to n/2-1,%     gives indicator of region ||pixel - center||_2 < radius%%% 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 + -
显示快捷键?