y=x(100:1000)

 采纳的回答

Jan
Jan 2011-11-8

0 个投票

Please read the Getting Started chapters in the documentation. This forum is not thought to clear the absolute basics.
The subvector of x from the element 100 to 100 is assigned to y.

更多回答(1 个)

Nirmal Gunaseelan
Nirmal Gunaseelan 2011-11-8

0 个投票

Matrix indexing - this newsletter should give you the basics of that statement.

类别

帮助中心File Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by