ans(:,:,1)=1 11 1ans(:,:,2)=3 00 4ans代表结果,是answer的缩写。结算结果没有赋给变量时,默认在结果前显示“ans =”。
ans(:,:,1) = 1 1 1 1ans(:,:,2) = 3 0 0 4