1、help
格式:help +函数(类)名
eg:
help repmat
repmat - 重复数组副本
此 MATLAB 函数 返回一个数组,该数组在其行维度和列维度包含 A 的 n 个副本。A 为矩阵时,B 大小为 size(A)*n。
B = repmat(A,n)
B = repmat(A,r1,...,rN)
B = repmat(A,r)
另请参阅 bsxfun, kron, meshgrid, ndgrid, repelem, reshape
repmat 的参考页
名为 repmat 的其他函数
2、helpwin\helpdesk
功能:调用联机帮助窗口
3、lookfor
特点:当不知道具体函数名时,可采用 lookfor+关键字 搜索相关函数
eg:
lookfor car
meshgrid - Cartesian grid in 2-D/3-D space
fgetl - Read line from file, discard newline character.
cart2pol - Transform Cartesian to polar coordinates.
cart2sph - Transform Cartesian to spherical coordinates.
pol2cart - Transform polar to Cartesian coordinates.
sph2cart - Transform spherical to Cartesian coordinates.
4、Tab
格式:命令前几个字母+Tab键
eg: 输入rep,然后按下Tab键
5、doc
格式:doc +函数(类)名
6、exist
功能:确定值是否存在
具体参考:点击打开链接
7、what
功能:目录中文件列表
8、who
功能:内存变量列表
9、whos
功能:内存变量详细信息
10、which
功能:确定文件位置
具体参考:点击打开链接
注:1、3、4、5具体可参考:点击打开链接