MATLAB中的常用命令

MATLAB中命令窗口和编辑窗口中常用的命令
这里写图片描述

这里写图片描述

MATLAB2016a的帮助系统

在MATLAB命令行窗口中,可以通过一些命令来获取纯文本的帮助信息。包括:

help、lookfor、which、doc、get、type

help命令常用的调用方式为:

help FUN

执行该命令可以查询有关于FUN函数的使用信息。例如要查询了解sin函数的使用方法,可以在命令行中输入一下代码:

>> help sin
 sin    Sine of argument in radians.
    sin(X) is the sine of the elements of X.

    See also asin, sind.

    sin 的参考页
    名为 sin 的其他函数

显示的帮助文档介绍了sin函数的主要功能、调用格式及相关函数的链接

lookfor命令常用的调用方式为:

lookfor topic
lookfor topic -all

执行该命令可以按照指定的关键字查找所有相关的M文件。例如:

>> lookfor inverse
ifft                           - Inverse discrete Fourier transform.
ifft2                          - Two-dimensional inverse discrete Fourier transform.
ifftn                          - N-dimensional inverse discrete Fourier transform.
ifftshift                      - Inverse FFT shift.
acos                           - Inverse cosine, result in radians.
acosd                          - Inverse cosine, result in degrees.
acosh                          - Inverse hyperbolic cosine.
acot                           - Inverse cotangent, result in radian.
acotd                          - Inverse cotangent, result in degrees.
acoth                          - Inverse hyperbolic cotangent.
acsc                           - Inverse cosecant, result in radian.
acscd                          - Inverse cosecant, result in degrees.
acsch                          - Inverse hyperbolic cosecant.
asec                           - Inverse secant, result in radians.
asecd                          - Inverse secant, result in degrees.
asech                          - Inverse hyperbolic secant.
asin                           - Inverse sine, result in radians.
asind                          - Inverse sine, result in degrees.
asinh                          - Inverse hyperbolic sine.
atan                           - Inverse tangent, result in radians.
atan2                          - Four quadrant inverse tangent.
atan2d                         - Four quadrant inverse tangent, result in degrees.
atand                          - Inverse tangent, result in degrees.
atanh                          - Inverse hyperbolic tangent.
invhilb                        - Inverse Hilbert matrix.
ipermute                       - Inverse permute array dimensions.
inv                            - Matrix inverse.
pinv                           - Pseudoinverse.
betaincinv                     - Inverse incomplete beta function.
erfcinv                        - Inverse complementary error function.
erfinv                         - Inverse error function.
gammaincinv                    - Inverse incomplete gamma function.
quatinv                        - Calculate the inverse of a quaternion.
revgeneticcode                 - creates a structure of inverse mappings for the genetic code.
qfuncinv                       - Inverse Q function.
dspblkistfft                   - Mask dynamic dialog function for inverse STFFT block
dspblkpinv                     - DSP System Toolbox Pseudo Inverse block helper function.
cvtree                         - Convert an inverse discount tree to an interest rate tree.
inverse_cordic_growth_constant - Kn = INVERSE_CORDIC_GROWTH_CONSTANT(NITER) returns the inverse of the 
cordicatan2                    - CORDIC-based four quadrant inverse tangent.
invkine                        - Inverse kinematics of a robot arm.
hdlinvsinc                     - HDL Inverse Sinc Filter
idct2                          - 2-D inverse discrete cosine transform.
ifanbeam                       - Inverse fan-beam transform.
iradon                         - Inverse Radon transform.
tforminv                       - Apply inverse spatial transformation.
conformalInverse               - Inverse conformal transformation.
conformalInverseClip           - Inverse conformal transformation with clipping.
projinv                        - Inverse map projection using PROJ.4 library
netinv                         - Inverse transfer function.
dnetinv                        - Inverse transfer derivative function.
idst                           - Inverse discrete sine transform.
acde                           - Inverse of cd elliptic function.
asne                           - Inverse of sn elliptic function.
icceps                         - Inverse complex cepstrum.
idct                           - Inverse discrete cosine transform.
ifwht                          - Fast Inverse Discrete Walsh-Hadamard Transform
is2rc                          - Convert inverse sine parameters to reflection coefficients.
rc2is                          - Convert reflection coefficients to inverse sine parameters.
unshiftdata                    - The inverse of SHIFTDATA.
betainv                        - Inverse of the beta cumulative distribution function (cdf).
binoinv                        - Inverse of the binomial cumulative distribution function (cdf).
chi2inv                        - Inverse of the chi-square cumulative distribution function (cdf).
evinv                          - Inverse of the extreme value cumulative distribution function (cdf).
expinv                         - Inverse of the exponential cumulative distribution function.
finv                           - Inverse of the F cumulative distribution function.
gaminv                         - Inverse of the gamma cumulative distribution function (cdf).
geoinv                         - Inverse of the geometric cumulative distribution function.
gevinv                         - Inverse of the generalized extreme value cumulative distribution function (cdf).
gpinv                          - Inverse of the generalized Pareto cumulative distribution function (cdf).
hygeinv                        - Inverse of the hypergeometric cumulative distribution function (cdf).
icdf                           - Inverse cumulative distribution function for a specified distribution.
invpred                        - Inverse prediction for simple linear regression.
iwishrnd                       - Generate inverse Wishart random matrix
logninv                        - Inverse of the lognormal cumulative distribution function (cdf).
nbininv                        - Inverse of the negative binomial cumulative distribution function (cdf).
ncfinv                         - Inverse of the noncentral F cumulative distribution function (cdf).
nctinv                         - Inverse of the noncentral T cumulative distribution function (cdf).
ncx2inv                        - Inverse of the non-central chi-square cdf.
norminv                        - Inverse of the normal cumulative distribution function (cdf).
poissinv                       - Inverse of the Poisson cumulative distribution function (cdf).
raylinv                        - Inverse of the Rayleigh cumulative distribution function (cdf).
tinv                           - Inverse of Student's T cumulative distribution function (cdf).
unidinv                        - Inverse of uniform (discrete) distribution function.
unifinv                        - Inverse of uniform (continuous) distribution function.
wblinv                         - Inverse of the Weibull cumulative distribution function (cdf).
HilbertMatrixExample           - Hilbert Matrices and Their Inverses
icwtft                         - Inverse continuous wavelet transform using FFT.
icwtlin                        - Inverse continuous wavelet transform using linear scales.
idddtree                       - Inverse Real and Complex Double and Double-Density 
idddtree2                      - Inverse Real and Complex Double and Double-Density 
idwt                           - Single-level inverse discrete 1-D wavelet transform.
idwt2                          - Single-level inverse discrete 2-D wavelet transform.
idwt3                          - Single-level inverse discrete 3-D wavelet transform.
ilwt                           - Inverse 1-D lifting wavelet transform.
ilwt2                          - Inverse 2-D lifting wavelet transform.
imodwpt                        - Inverse maximal overlap discrete wavelet packet transform
imodwt                         - Inverse maximal overlap discrete wavelet transform.
indwt                          - Inverse nondecimated 1-D wavelet transform.
indwt2                         - Inverse nondecimated 2-D wavelet transform.
instdfft                       - Inverse non-standard 1-D fast Fourier transform.
iswt                           - Inverse discrete stationary wavelet transform 1-D.
iswt2                          - Inverse discrete stationary wavelet transform 2-D.
iwsst                          - Inverse Wavelet Synchrosqueezed Transform

通过Demos演示

在MATLAB命令行中输入以下命令:

demos

通过视频可以更加直观、快速的进行学习

帮助导航浏览器

帮助导航浏览器是MATLAB专门提供的一个独立的帮助子系统,该系统包含的所有帮助文件都存储在MATLAB安装的目录下的help子目录下。可以通过以下两种命令方式来打开帮助导航浏览器:

helpbrowser
%or
doc

猜你喜欢

转载自blog.csdn.net/m0_37592397/article/details/80377699