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

📄 mmspin3d.m

📁 对于精通掌握matlab非常有用的资料
💻 M
字号:
function M=mmspin3d(n)%MMSPIN3D Make Movie by 3D Azimuth Rotation of Current Figure.% MMSPIN3D(N) captures and plays N frames of the current figure% through one rotation about the Z-axis at the current elevation.% M=MMSPIN3D(N) returns the movie in M for later playing with movie.% If not given, N=18 is used.% MMSPIN3D fixes the axis limits and issues axis off.% D.C. Hanselman, University of Maine, Orono ME 04469% 3/4/95% Copyright (c) 1996 by Prentice Hall, Inc.if nargin<1, n=18; endn=max(abs(round(n)),2);axis(axis);axis offincaz=round(360/n);[az,el]=view;m=moviein(n);for i=1:n	view(az+incaz*(i-1),el)	m(:,i)=getframe;endif nargout,	M=m;else,		movie(m);end

⌨️ 快捷键说明

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