How to define a single row in a vector

1 次查看(过去 30 天)
I have a vector with 11 rows and i want to extract row nr 6, i cant figure out how, and btw i'm new to the software.

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-5-6
编辑:Azzi Abdelmalek 2016-5-6

更多回答(1 个)

CS Researcher
CS Researcher 2016-5-6
Let say the vector is a
a = 1:11
b = a(6)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by