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具體可參考:點擊打開鏈接