How to define a single row in a vector

6 views (last 30 days)
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.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 6 May 2016
Edited: Azzi Abdelmalek on 6 May 2016

More Answers (1)

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

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!