<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="generator" content="pdf2htmlEX">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css">
<link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css">
<link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/626d8e623c16ee627a5313e0/raw.css">
<script src="https://static.pudn.com/base/js/compatibility.min.js"></script>
<script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script>
<script>
try{
pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});
}catch(e){}
</script>
<title></title>
</head>
<body>
<div id="sidebar" style="display: none">
<div id="outline">
</div>
</div>
<div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/626d8e623c16ee627a5313e0/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _0"> </span> <span class="_ _1"> </span>1</div><div class="t m0 x2 h4 y3 ff2 fs1 fc0 sc1 ls0 ws0">Matlab <span class="_ _2"> </span>制作动画</div></div></div><div class="pi" data-data='{"ctm":[1.333333,0.000000,0.000000,1.333333,0.000000,0.000000]}'></div></div>
</body>
</html>
<div id="pf2" class="pf w0 h0" data-page-no="2"><div class="pc pc2 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/626d8e623c16ee627a5313e0/bg2.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _0"> </span> <span class="_ _1"> </span>2</div><div class="t m0 x3 h5 y4 ff1 fs2 fc0 sc0 ls0 ws0">涉及的主要问题</div><div class="t m0 x3 h6 y5 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y6 ff1 fs4 fc0 sc0 ls0 ws0">一般步骤</div><div class="t m0 x3 h6 y7 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y8 ff1 fs4 fc0 sc0 ls0 ws0">使用的主要函数及功能</div><div class="t m0 x3 h6 y9 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 ya ff1 fs4 fc0 sc0 ls0 ws0">示例程序及运行结果</div><div class="t m0 x3 h6 yb ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 yc ff1 fs4 fc0 sc0 ls0 ws0">存在的问题</div></div></div><div class="pi" data-data='{"ctm":[1.333333,0.000000,0.000000,1.333333,0.000000,0.000000]}'></div></div>
<div id="pf3" class="pf w0 h0" data-page-no="3"><div class="pc pc3 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/626d8e623c16ee627a5313e0/bg3.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _0"> </span> <span class="_ _1"> </span>3</div><div class="t m0 x3 h5 y4 ff1 fs2 fc0 sc1 ls0 ws0">一般步骤:</div><div class="t m0 x3 h6 y5 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x5 h7 y6 ff1 fs4 fc2 sc2 ls0 ws0">确定动画的帧数<span class="_ _3"> </span>nframes</div><div class="t m0 x3 h6 y7 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x5 h7 y8 ff1 fs4 fc2 sc2 ls0 ws0">画出图形</div><div class="t m0 x3 h6 y9 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x5 h7 ya ff1 fs4 fc2 sc2 ls0 ws0">为<span class="_ _4"> </span>nframes<span class="_ _3"> </span>帧幅图形分配足够内<span class="_ _5"></span>存空间</div><div class="t m0 x3 h6 yb ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x5 h7 yc ff1 fs4 fc2 sc2 ls0 ws0">用<span class="_ _4"> </span>getframe<span class="_ _3"> </span>生成动画的数据矩阵</div><div class="t m0 x3 h6 yd ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x5 h7 ye ff1 fs4 fc2 sc2 ls0 ws0">以每秒<span class="_ _4"> </span>n<span class="_ _4"> </span>幅的<span class="_ _5"></span>速度播放动画</div></div></div><div class="pi" data-data='{"ctm":[1.333333,0.000000,0.000000,1.333333,0.000000,0.000000]}'></div></div>
<div id="pf4" class="pf w0 h0" data-page-no="4"><div class="pc pc4 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/626d8e623c16ee627a5313e0/bg4.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _0"> </span> <span class="_ _1"> </span>4</div><div class="t m0 x3 h5 y4 ff1 fs2 fc0 sc0 ls0 ws0">函数及功能</div><div class="t m0 x3 h6 y5 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y6 ff1 fs4 fc0 sc0 ls0 ws0">M=moviein(nframes)</div><div class="t m0 x4 h8 yf ff3 fs5 fc1 sc0 ls0 ws0"></div><div class="t m0 x6 h9 y10 ff1 fs6 fc0 sc0 ls0 ws0">为<span class="_ _6"> </span>nframes<span class="_ _6"> </span>帧幅图分配足够内存<span class="_ _7"></span>空间</div><div class="t m0 x3 h6 y11 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y12 ff1 fs4 fc0 sc0 ls0 ws0">movie(n)</div><div class="t m0 x4 h8 y13 ff3 fs5 fc1 sc0 ls0 ws0"></div><div class="t m0 x6 h9 y14 ff1 fs6 fc0 sc0 ls0 ws0">以每秒<span class="_ _6"> </span>n<span class="_ _6"> </span>幅的速度播放<span class="_ _7"></span>动画 </div><div class="t m0 x3 h6 y15 ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y16 ff1 fs4 fc0 sc0 ls0 ws0">getframe </div><div class="t m0 x4 h8 y17 ff3 fs5 fc1 sc0 ls0 ws0"></div><div class="t m0 x6 h9 y18 ff1 fs6 fc0 sc0 ls0 ws0">对当前的图象<span class="_ _7"></span>进行快照,截取<span class="_ _7"></span>一幅画面信息<span class="_ _6"> </span>(<span class="_ _6"> </span>称为动画中</div><div class="t m0 x6 h9 y19 ff1 fs6 fc0 sc0 ls0 ws0">的一帧<span class="_ _6"> </span>)<span class="_ _6"> </span>,一幅画面信<span class="_ _7"></span>息形成一个很大的<span class="_ _7"></span>列向量</div><div class="t m0 x3 h6 y1a ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y1b ff1 fs4 fc0 sc0 ls0 ws0">meshgrid<span class="_ _3"> </span>:用于产生<span class="_ _3"> </span>x-y<span class="_ _4"> </span>平面上的网格数据</div><div class="t m0 x3 h6 y1c ff3 fs3 fc1 sc0 ls0 ws0"></div><div class="t m0 x4 h7 y1d ff1 fs4 fc0 sc0 ls0 ws0">mesh<span class="_ _4"> </span>:<span class="_ _5"></span>绘制网面图</div></div></div><div class="pi" data-data='{"ctm":[1.333333,0.000000,0.000000,1.333333,0.000000,0.000000]}'></div></div>