www.gusucode.com > demos工具箱matlab源码程序 > demos/cruller.m
%% Cruller % This example shows how to construct a cruller by revolving the eccentric % ellipse defined by the function XYCRULL. % % Thanks to C. Henry Edwards, Dept. of Mathematics, University of % Georgia, 6/20/93. % Copyright 1984-2014 The MathWorks, Inc. ab = [0 2*pi]; rtr = [8 1.5 1]; pq = [40 40]; box = [-10 10 -10 10 -3 3]; vue = [90 50]; clf tube('xycrull',ab,rtr,pq,box,vue) colormap(hot); view(-37.5,65);