Clear Filters
Clear Filters

select some compenent of vector

4 views (last 30 days)
zina ben
zina ben on 27 Jun 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

Answers (1)

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

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!