How to define a single row in a vector

6 Ansichten (letzte 30 Tage)
claus koch
claus koch am 6 Mai 2016
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.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 6 Mai 2016
Bearbeitet: Azzi Abdelmalek am 6 Mai 2016

Weitere Antworten (1)

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

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by