繁体   English   中英

如何在MATLAB中查找命令

[英]how to find a command in MATLAB

我有个问题:

我使用lookfor在MATLAB中查找函数或命令,但是很多时候lookfor会给出一些结果,但是当我使用help来学习如何使用时,会看到以下情况:

No matches found.

有什么问题,如果使用较新版本的MATLAB,是否可以解决此问题?

发生这种情况是因为这两个命令是不同的!


lookfor命令使您可以基于关键字搜索功能。 它为每个MATLAB函数搜索帮助文本的第一行,即H1行,并返回包含指定关键字的H1行。 例如,MATLAB没有名为inverse的函数。 因此,来自

help inverse

inverse.m not found.

lookfor inverse

找到十几场比赛。 根据所安装的工具箱,您会找到类似

INVHILB Inverse Hilbert matrix.
ACOSH   Inverse hyperbolic cosine.
ERFINV  Inverse of the error function.
INV     Matrix inverse.
PINV    Pseudoinverse.
IFFT    Inverse discrete Fourier transform.
IFFT2   Two-dimensional inverse discrete Fourier transform.
ICCEPS  Inverse complex cepstrum.
IDCT    Inverse discrete cosine transform.

要进行学习,请访问http://www.thphys.may.ie/CompPhysics/matlab/help/techdoc/basics/getting6.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM