if expression , statements , end 计算表达式并在表达式为true 时执行一组语句。 ... for c = 1:ncols for r = 1:nrows if r == c A(r,c) = 2; elseif abs(r-c) == 1 ...
確定! 回上一頁