demoellip.m

来自「强大的nurbs的工具箱 nurbs曲线」· M 代码 · 共 15 行

M
15
字号
function demoellip
% Demonstration of a unit circle transformed to a inclined ellipse
% by first scaling, then rotating and finally translating.
%

% D.M. Spink
% Copyright (c) 2000

xx = vectrans([2.0 1.0])*vecroty(pi/8)*vecrotx(pi/4)*vecscale([1.0 2.0]);
c0 = nrbtform(nrbcirc, xx);
nrbplot(c0,50);
title('Construction of an ellipse by transforming a unit circle.');
grid on;

⌨️ 快捷键说明

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