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

📄 cir.m

📁 基于MATLAB的辅助设计 简述了矩阵分析的重要性
💻 M
字号:
function h=cir(r,x,y)
%
% CIR is a function that draw a cirkel on the screen.
% X and Y are the cordinate of tthe cirkel and r is the radius.

%    Authors: Dingyu XUE, The University of Sussex 
%             Ole Barup Sorensen, Rapid Data Ltd 

%    Copyright (c) 1989-94 by Rapid Data Ltd
%    Revision 10:36  07/02/94

w=0:0.1:2*pi;
x1=r*cos(w);
y1=r*1.5*sin(w);
h=line(x+x1,y+y1);
set(h,'Color','w','LineWidth', 2);

⌨️ 快捷键说明

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