經安全檢測,此網站為安全網站,請放心前往原始網址!

Create vectors, array subscripting, and for-loop iterators - MATLAB colon (:)

j:k is the same as [j,j+1,j+2,...,j+m], where m = fix(k-j). In the case where both j and k are integers, this is simply [j,j+1,...,k]. This syntax returns an empty matrix when j > k. j:i:k is the same as [j,j+i,j+2i, ...,j+m*i], where m = fix((k-j)/i). Th

www.mathworks.com

網址安全性掃描由 google 提供