select some compenent of vector

2 visualizzazioni (ultimi 30 giorni)
zina ben
zina ben il 27 Giu 2012
Hello!
Ihave this vector:
V = [1 2 3 4 5 6 7 8 9]'
i need just to used
V1 = [ 4 5 6 7 ]
what can i do
please help me. Thanks in advence

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 27 Giu 2012
V1 = V(4 + (0:3));

Categorie

Scopri di più su Elementary Math in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by