新闻摘要:2 指令窗中的 help 指令2。1 直接使用 help 获得指令的使用说明【例 2。1-1 】假如准确知道所要求助的主题词,或指令名称,那末使用 help 是获得在线帮助的最简单有效的途径。help logmLOGM Matrix logarithm。
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 - El
您现在的位置: 