How to define a single row in a vector

4 vues (au cours des 30 derniers jours)
claus koch
claus koch le 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.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 6 Mai 2016
Modifié(e) : Azzi Abdelmalek le 6 Mai 2016

Plus de réponses (1)

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

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by