⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 circle.m

📁 hi i have a huge collection are you interested
💻 M
字号:
function [x,y] = circle(x0,y0,r,N)% CIRCLE Define a circle.%        [x,y] = CIRLCE(x0,y0,r,N) returns coordinates of a%        circle centred on (x0,y0) and with radius r. N is%        the number of points around the circle. If N is%        missing the, 10 points are returned. All inputs must%        be scalars.% A. Knight, May 1995if nargin<4  N = 15;endr = r*ones(1,N);theta = linspace(0,2*pi,N);[x,y] = pol2cart(theta,r);x = x + x0;y = y + y0;

⌨️ 快捷键说明

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