How to define a single row in a vector

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 6 Mag 2016
Modificato: Azzi Abdelmalek il 6 Mag 2016

Più risposte (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by