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

📄 ch2_2_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>2.2.3  变数</H1>

</FONT>

<HR>



<P>

MATLAB对使用变数名称的规定:

<OL>

<LI>变数名称的英文大小写是有区别的(<FONT COLOR=#FF0000>apple</FONT>,<FONT COLOR=#FF0000>

Apple</FONT>,<FONT COLOR=#FF0000> AppLe</FONT>,三个变数不同)。

<LI>变数的长度上限为 19 个字元。

<LI>变数名的第一个字必须是一英文字,随后可以掺杂英文字、数字或是底线。

</OL>

<P>

<P>

以下列出MATLAB所定义的特别变数及其意义

<TABLE BORDER=1>

<TR><TD WIDTH=70>变数名</TD><TD WIDTH=348>意义</TD></TR>

<TR><TD WIDTH=70><FONT COLOR=#FF0000>help</FONT></TD><TD WIDTH=348>线上说明, 如 <FONT COLOR=#FF0000>help quit</FONT>

</TD></TR>

<TR><TD WIDTH=70><FONT COLOR=#FF0000>who</FONT></TD><TD WIDTH=348>列出所有定义过的变数名称

</TD></TR>

<TR><TD WIDTH=70><FONT COLOR=#FF0000>ans</FONT></TD><TD WIDTH=348>预设的计算结果的变数名

</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>内建的π值

</TD></TR>

<TR><TD WIDTH=70><FONT COLOR=#FF0000>inf</FONT></TD><TD WIDTH=348>∞值,无限大 (<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>无法定义一个数目 (<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> 上一页 下一页 讲义大纲 </FONT>

</BODY>

</HTML>

⌨️ 快捷键说明

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