?? ch2_2_3.htm
字號(hào):
<! Made by Html Translation Ver 1.0>
<HTML>
<HEAD>
<TITLE> 變數(shù) </TITLE>
</HEAD>
<BODY BACKGROUND="bg0000.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/bg0000.gif">
<FONT COLOR="#0000FF">
<H1>2.2.3 變數(shù)</H1>
</FONT>
<HR>
<P>
MATLAB對(duì)使用變數(shù)名稱的規(guī)定:
<OL>
<LI>變數(shù)名稱的英文大小寫(xiě)是有區(qū)別的(<FONT COLOR=#FF0000>apple</FONT>,<FONT COLOR=#FF0000>
Apple</FONT>,<FONT COLOR=#FF0000> AppLe</FONT>,三個(gè)變數(shù)不同)。
<LI>變數(shù)的長(zhǎng)度上限為 19 個(gè)字元。
<LI>變數(shù)名的第一個(gè)字必須是一英文字,隨后可以摻雜英文字、數(shù)字或是底線。
</OL>
<P>
<P>
以下列出MATLAB所定義的特別變數(shù)及其意義
<TABLE BORDER=1>
<TR><TD WIDTH=70>變數(shù)名</TD><TD WIDTH=348>意義</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>help</FONT></TD><TD WIDTH=348>線上說(shuō)明, 如 <FONT COLOR=#FF0000>help quit</FONT>
</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>who</FONT></TD><TD WIDTH=348>列出所有定義過(guò)的變數(shù)名稱
</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>ans</FONT></TD><TD WIDTH=348>預(yù)設(shè)的計(jì)算結(jié)果的變數(shù)名
</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>eps</FONT></TD><TD WIDTH=348>MATLAB定義的正的極小值<TT><FONT FACE="Courier New">=</FONT></TT>2.2204e-16
</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>pi</FONT></TD><TD WIDTH=348>內(nèi)建的π值
</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>inf</FONT></TD><TD WIDTH=348>∞值,無(wú)限大 (<IMG SRC="img00002.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img2/img00002.gif">)
</TD></TR>
<TR><TD WIDTH=70><FONT COLOR=#FF0000>NaN</FONT></TD><TD WIDTH=348>無(wú)法定義一個(gè)數(shù)目 (<IMG SRC="img00003.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img2/img00003.gif">)
</TD></TR>
</TABLE><HR>
<A HREF="ch2_2_2.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch2_2_2.htm"><IMG SRC="lastpage.gif" tppabs="http://166.111.167.223/computer/cai/matlabjc/img/lastpage.gif" BORDER=0></A>
<A HREF="ch2_2_4.htm" tppabs="http://166.111.167.223/computer/cai/matlabjc/ch2_2_4.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="javascript:if(confirm('http://166.111.167.223/computer/cai/matlabjc/index-1.htm \n\nThis file was not retrieved by Teleport Pro, because the server reports that this file cannot be found. \n\nDo you want to open it from the server?'))window.location='http://166.111.167.223/computer/cai/matlabjc/index-1.htm'" tppabs="http://166.111.167.223/computer/cai/matlabjc/index-1.htm"><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> 上一頁(yè) 下一頁(yè) 講義大綱 </FONT>
</BODY>
</HTML>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -