select some compenent of vector

2 visualizaciones (últimos 30 días)
zina ben
zina ben el 27 de Jun. de 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

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 27 de Jun. de 2012
V1 = V(4 + (0:3));

Categorías

Más información sobre Elementary Math en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by