matlab 帮助命令

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具体可参考:点击打开链接

  • 0
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值