谢谢MATLAB 指令窗中的help指令和lookfor指令
"*`!.9pt 作者:精通MATLAB(5.3版) 来源:转载
http://www.51base.com/machine/softedu/cam/matlab/5120060126150.shtml 发布时间:2008-4-16 9:29:54
a*}>yad 减小字体 增大字体
>S0kiGDV{ @*|UyK. 2.9.2 指令窗中的 help 指令
<_kA+&T $y.0h( 2.9.2.1 直接使用 help 获得指令的使用说明
R'vNJDFY hi(e%da 【例 2.9.2 .1-1 】假如准确知道所要求助的主题词,或指令名称,那末使用 help 是获得在线帮助的最简单有效的途径。本例演示:关于矩阵对数函数 logm 使用说明的在线求助。
Wt@hST SmvMjZ+7Y help logm
j[mII5e7g LOGM Matrix logarithm.
}/\`'LQ 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.
_OJfd ,B_tAg4~ [L,esterr] = logm(A) does not print any warning message, but returns an estimate of the relative residual,norm(expm(L)-A)/norm(A).
F?jD5M08t/ b>i5r$S8G If A is real symmetric or complex Hermitian, then so is LOGM(A).
ai?N!RX%H 1M_Vhs^ Some matrices, like A = [0 1; 0 0], do not have any logarithms, real or complex, and LOGM cannot be expected to produce one.
av5a2r0W1 _<F;&(o See also EXPM, SQRTM, FUNM.
!;vv-v,LQ \Wg_ gA 2.9.2.2 使用 help 指令进行分类搜索
Ahbh,U ]
>w@@A 【例 2.9.2 .2-1 】运行不带任何限定的 help ,可以得到分类名称明细表。
4M]l~9;A $B<:SuV# help
/:{4,aX2 HELP topics:
4^YE*6z matlab\general - General purpose commands.
a9 q:e matlab\ops - Operators and special characters.
(C
uM*- matlab\lang - Programming language constructs.
79}jK"Gc matlab\elmat - Elementary matrices and matrix manipulation.
g)ZMU^1 matlab\elfun - Elementary math functions.
5D<ZtsXE matlab\specfun - Specialized math functions.
? EHheZ{ ...... ......
<s\ZqL$f For more help on directory/topic, type "help topic".
j_h:_D4 fI<d&5&g 2.9.2.3 采用 help topic 指令形式获得具体子类的指令明细
]xoG{%vgb C4gES"T 【例 2.9.2 .3-1 】如果用户想知道有关矩阵操作指令一栏表,那末就运行以下指令。
.}Xf<G& u)r:0;5 help elmat
h6?Z Elementary matrices and matrix manipulation.
D:IG;Rsc Elementary matrices.
n53c}^ zeros - Zeros array.
9;\mq'v% ones - Ones array.
#639N9a~ ...... ......
ZQ*Us*9I b5Q>e%i# Basic array information.
u8%X~K\ size - Size of matrix.
S3WUccv length - Length of vector.
Q (q&(/ ...... ......
X's<+hK& }a9G,@:k Matrix manipulation.
uifVSf* reshape - Change size.
GP %hf{ diag - Diagonal matrices and diagonals of matrix.
HOCj* O4 ...... ......
e3p:lu zA.0Sm Special variables and constants.
QX<x2U ans - Most recent answer.
L1DH9wiQi eps - Floating point relative accuracy.
bX:h"6{=R ...... ......
R?9x!@BV Z_S{$D Specialized matrices.
PXJ7Ek*/ compan - Companion matrix.
Suo$wZ7J gallery - Higham test matrices.
|S|'o*u ...... ......
Su?cC/ 1 JIU5u) 〖说明〗省略号由笔者所加,用来表示被删除的内容。这样做是出于节省篇幅的考虑。
9^8OIv?m8 g*LD}`X/- [2Nux0g 2.9.3 指令窗中的 lookfor 指令
{i8zM6eC Sl ^PELU 【例 2.9.3 -1 】查找包含积分这个关键词的所有指令。
{ %]imf|g. W-&V:S{< lookfor integral
m_Q&zp[" ELLIPKE Complete elliptic integral.
vDi Opd EXPINT Exponential integral function.
f^u-Myk DBLQUAD Numerically evaluate double integral.
NV9JMB{q INNERLP Used with DBLQUAD to evaluate inner loop of integral.
BbCO K QUAD Numerically evaluate integral, low order method.
h4F%lGot QUAD8 Numerically evaluate integral, higher order method.
ybJ wFZ80 COSINT Cosine integral function.
k1zK3I&c_ SININT Sine integral function.
q}VdPt>X/ ASSEMA Assembles area integral contributions in a PDE problem.
'U`;4AN COSINT Cosine integral function.
udLI AV* FOURIER Fourier integral transform.
p)?6#~9$ IFOURIER Inverse Fourier integral transform.
!3mt<i]a" SININT Sine integral function.