简体   繁体   中英

MATLAB indexing for a matrix

If T is a 3x3 matrix.. what does T(1:2,3) = k mean?

I think T(1:2) means the first 2 columns. So does T(1:2,3) mean the first two columns in the last row..?

您将值 k 分配给第 3 列的前两行。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM