谢谢MATLAB 指令窗中的help指令和lookfor指令
b|ZLX: 作者:精通MATLAB(5.3版) 来源:转载
http://www.51base.com/machine/softedu/cam/matlab/5120060126150.shtml 发布时间:2008-4-16 9:29:54
G+yL;G/ 减小字体 增大字体
p`GWhI? TmiWjQv` 2.9.2 指令窗中的 help 指令
xeB4r/6 "2mFC! 2.9.2.1 直接使用 help 获得指令的使用说明
ZPF7m{S feCqbWq: 【例 2.9.2 .1-1 】假如准确知道所要求助的主题词,或指令名称,那末使用 help 是获得在线帮助的最简单有效的途径。本例演示:关于矩阵对数函数 logm 使用说明的在线求助。
\|Qb[{<:, @\~tHJ?hQd help logm
p^8JLC LOGM Matrix logarithm.
:^G%57NX 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.
;i9>}]6 y~p4">] [L,esterr] = logm(A) does not print any warning message, but returns an estimate of the relative residual,norm(expm(L)-A)/norm(A).
0 [i+ Dq`~XS* If A is real symmetric or complex Hermitian, then so is LOGM(A).
5T/J% +a]j[# Some matrices, like A = [0 1; 0 0], do not have any logarithms, real or complex, and LOGM cannot be expected to produce one.
y[:q"BB3 uMDtdC8 See also EXPM, SQRTM, FUNM.
u)7
]1e{ GEtbs+ [ 2.9.2.2 使用 help 指令进行分类搜索
baIbf@t/ N?+eWY 【例 2.9.2 .2-1 】运行不带任何限定的 help ,可以得到分类名称明细表。
l7Lj[d<n v[D&L_ help
]xR4->eix HELP topics:
_>v0R' matlab\general - General purpose commands.
g9qC{xd matlab\ops - Operators and special characters.
XOxB
(0@ matlab\lang - Programming language constructs.
n{=7 yK matlab\elmat - Elementary matrices and matrix manipulation.
q2!'==h2i matlab\elfun - Elementary math functions.
2 `5=0E1k matlab\specfun - Specialized math functions.
dwp:iM ...... ......
%FlA":W For more help on directory/topic, type "help topic".
)nnCCRS6 4zzlazU 2.9.2.3 采用 help topic 指令形式获得具体子类的指令明细
B+Q+0tw*i -]QguZE 【例 2.9.2 .3-1 】如果用户想知道有关矩阵操作指令一栏表,那末就运行以下指令。
u&SZlkf6% C<t RU5| help elmat
k2OM="Ei} Elementary matrices and matrix manipulation.
C*O
,rm} Elementary matrices.
y#bK,} zeros - Zeros array.
bp Ml =_ ones - Ones array.
ou;qO
5CT ...... ......
M]B3vPA/v 6z1\a Basic array information.
3G&0Ciet size - Size of matrix.
DVzssPg length - Length of vector.
~@YQ,\Y ...... ......
q5?L1 \[T{M!s Matrix manipulation.
966<I56+ reshape - Change size.
b8HE."*t diag - Diagonal matrices and diagonals of matrix.
vpa fru4 ...... ......
H56
^n<tg i>"dBJh]b Special variables and constants.
%uEtQh[ ans - Most recent answer.
v?%3~XoH eps - Floating point relative accuracy.
O3+)qb!X ...... ......
9>{t}Id Bj&_IDs4 Specialized matrices.
<~O}6HQ# compan - Companion matrix.
e;;):\p4 gallery - Higham test matrices.
c
`ud;lI ...... ......
yId;\o B A|C_np^z2 〖说明〗省略号由笔者所加,用来表示被删除的内容。这样做是出于节省篇幅的考虑。
M1(9A>|nF fM{1Os 0h:G4 2.9.3 指令窗中的 lookfor 指令
A^cU$V%?W gV.f*E1C 【例 2.9.3 -1 】查找包含积分这个关键词的所有指令。
(+x]##Q 3"vRK5Bf lookfor integral
\=8=wQv ELLIPKE Complete elliptic integral.
6oA~J]< EXPINT Exponential integral function.
&GU@8 DBLQUAD Numerically evaluate double integral.
1C'P)f28 INNERLP Used with DBLQUAD to evaluate inner loop of integral.
/u?9S/ QUAD Numerically evaluate integral, low order method.
8;8YA1@w QUAD8 Numerically evaluate integral, higher order method.
j=Q$K#sBt COSINT Cosine integral function.
{,F/KL^u SININT Sine integral function.
od(:Y(4 ASSEMA Assembles area integral contributions in a PDE problem.
^vn\4 COSINT Cosine integral function.
aG
Ef#A FOURIER Fourier integral transform.
fD(7FN8 IFOURIER Inverse Fourier integral transform.
bpnv &EG SININT Sine integral function.