Matlab
、语句
宏
% 注释... 行连接
顺序
;
结尾不加分号,用于显示输出
分支
if i>0
end
循环
for i=1:+2:10
end
、运算符
通用
() 单下标
(,) (:,)(1:n,:) 双下标
数量
.*
./
向量
矩阵
、自有函数
运算函数
abs
辅助结构处置函数
zeros
ones
eye
[] 裁切或增加
(,)
repmat
sort
sortrows
辅助信息查询函数
find
ind2sub
sub2ind
max
min
辅助文件读写函数
load
save
textread
、常用命令
clear all
clc
close all
help
whos
pack
未包含内容:
、扩展函数
、扩展命令
、工具箱
、GUI界面
、仿真
、运算符