>> y=6;>> x=[x y]x= 1 2 3 4 5 6 生成大矩阵
if a(n+1) – a(n) == 1, s = s + 1; end end s matlab 基本语句 1.循环语句for for ...