教程学院
图像设计 多媒体类 机械制图 办公软件 操作系统 系统编程 网站编程 网页制作 数据库类 网络路由 网络工程 网络安全 考试认证
酷网学院
CAD
AutoCad Cam350 ProEngineer GCcam MATLAB Unigraphics SolidWorks CAXA Solid3000 Cimatron EdgeCAM
系统
安全 防火墙 病毒 WinXP Win2003 Vista
数据库
编程
网络
精彩图库
  当前位置: 库库中文网 · 机械制图教程 · MATLAB教程

MATLAB 指令窗里面地help指令和lookfor指令

学院最新推荐文章
教程推荐
『MATLAB 指令窗里面地help指令和lookfor指令』如果文章有大量图片,显示会较慢,请等待图片下载完成
 
点击数: 更新时间:2005-8-22 


2.9.2 指令窗中的 help 指令

2.9.2.1 直接使用 help 获得指令的使用说明

【例 2.9.2 .1-1 】假如准确知道所要求助的主题词,或指令名称,那末使用 help 是获得在线帮助的最简单有效的途径。本例演示:关于矩阵对数函数 logm 使用说明的在线求助。

 help logm
 LOGM Matrix logarithm.
 L = LOGM(A) is the matrix logarithm of A, the inverse of EXPM(A). Complex results are produced if A has negative eigenvalues. A warning message is printed if the computed expm(L) is not close to A.

 [L,esterr] = logm(A) does not print any warning message, but returns an estimate of the relative residual,norm(expm(L)-A)/norm(A).

 If A is real symmetric or complex Hermitian, then so is LOGM(A).

 Some matrices, like A = [0 1; 0 0], do not have any logarithms, real or complex, and LOGM cannot be expected to produce one.

 See also EXPM, SQRTM, FUNM.

2.9.2.2 使用 help 指令进行分类搜索

【例 2.9.2 .2-1 】运行不带任何限定的 help ,可以得到分类名称明细表。

help
HELP topics:
matlab\general - General purpose commands.
matlab\ops - Operators and special characters.
matlab\lang - Programming language constructs.
matlab\elmat - Elementary matrices and matrix manipulation.
matlab\elfun - Elementary math functions.
matlab\specfun - Specialized math functions.
......            ......
For more help on directory/topic, type "help topic".

2.9.2.3 采用 help topic 指令形式获得具体子类的指令明细

【例 2.9.2 .3-1 】如果用户想知道有关矩阵操作指令一栏表,那末就运行以下指令。

help elmat
Elementary matrices and matrix manipulation.
Elementary matrices.
zeros - Zeros array.
ones - Ones array.
...... ......

Basic array information.
size - Size of matrix.
length - Length of vector.
...... ......

Matrix manipulation.
reshape - Change size.
diag - Diagonal matrices and diagonals of matrix.
...... ......

Special variables and constants.
ans - Most recent answer.
eps - Floating point relative accuracy.
...... ......

Specialized matrices.
compan - Companion matrix.
gallery - Higham test matrices.
...... ......

〖说明〗省略号由笔者所加,用来表示被删除的内容。这样做是出于节省篇幅的考虑。


2.9.3 指令窗中的 lookfor 指令

【例 2.9.3 -1 】查找包含积分这个关键词的所有指令。

lookfor integral
ELLIPKE Complete elliptic integral.
EXPINT Exponential integral function.
DBLQUAD Numerically evaluate double integral.
INNERLP Used with DBLQUAD to evaluate inner loop of integral.
QUAD Numerically evaluate integral, low order method.
QUAD8 Numerically evaluate integral, higher order method.

[1] [2] 下一页  

】【关闭窗口
·上页:
·下页:
·当前位置: 库库中文网 · 机械制图教程 · MATLAB教程
相关文章
     机械制图教程 - MATLAB教程
普通教程低级文件I/O
推荐教程MATLAB 控制指令窗地指令、操作
普通教程MATLAB 指令窗里面地help指令和
普通教程MATLAB 引导
普通教程MATLAB 文件管理
普通教程MATLAB逻辑操作符
普通教程二维数组地子数组寻访和赋值
普通教程MATLAB 一维数组地创建和寻访
普通教程MatLab工作环境
普通教程matlab调整测试工具
普通教程MATLAB 二维数组地创建
普通教程二维数组元素地标识
精彩图片汇集
advertisement
关于站点 - 广告服务 - 联系我们 - 版权隐私 - 免责声明 - 合作伙伴 - 程序支持 - 网站地图 - 返回顶部
网站文本地图
版权所有:库库中文 2005-2007 欢迎各种媒体转载我们的原创作品[转载请注明出处]
copyright © 2005-2008 www.QQGB.com online services. all rights reserved. 蜀ICP备05015578
Template designed by Virus. Optimized for 1024x768 to Firefox,Opera and MS-IE6. Site powered by EQL.
红盾
热爱电脑,热爱生活
拥有电脑,拥有生命
让我们享受拥有电脑的时光