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

📄 ch4_3.htm

📁 Matlab详细手册
💻 HTM
字号:
<! Made by Html Translation Ver 1.0>
<HTML>
<HEAD>
<TITLE>  选择指令及函数 </TITLE>
</HEAD>

<BODY BACKGROUND="bg0000.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/bg0000.gif">
<FONT COLOR="#0000FF">
<H1>4.3  选择指令及函数</H1>
</FONT>
<HR>

<P>
到目前为止所介绍 MATLAB 程式的执行方式都是序列式的 (sequential),即是一个指令接著一个指令的执行。但是有许多时候不能仅以序列式方式执行指令,例如我们
须要一个有选择的指令能让我们依设定的条件来决定是否执行某些指令,或是要做些重复性或是有规则变化
的运算或是资料处理,这些工作是以「控制流程」来做到。透过控制流程的指令可以将整个程式精简许多,
且变得更有效率。
<BR><HR>
<UL>
	<LI> 4.3  选择指令及函数
	<UL>
		<LI> 4.3.1 <A HREF="ch4_3_1.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch4_3_1.htm"> 关系及逻辑运算</A>
		<LI> 4.3.2 <A HREF="javascript:if(confirm('http://166.111.167.223/computer/tppmsgs/msgs0.htm  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://166.111.167.223/computer/tppmsgs/msgs0.htm#27'" tppabs="http://166.111.167.223/computer/tppmsgs/msgs0.htm#27"> if-else-end 语法</A>
	</UL>
</UL>
<HR>
<A HREF="ch4_2_3.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch4_2_3.htm"><IMG SRC="lastpage.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/lastpage.gif" BORDER=0></A>
<A HREF="ch4_3_1.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch4_3_1.htm"><IMG SRC="nextpage-1.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/nextpage.gif" BORDER=0 HSPACE=10></A>
<A HREF="index.html" tppabs="http://166.111.167.223/computer/cai/matlabjc/index.html"><IMG SRC="outline-1.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/outline.gif" BORDER=0 HSPACE=6></A><BR>
<FONT SIZE=2 COLOR=#AA55FF> 上一页 下一页 讲义大纲 </FONT>
</BODY>
</HTML>

⌨️ 快捷键说明

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