select some compenent of vector

2 ビュー (過去 30 日間)
zina ben
zina ben 2012 年 6 月 27 日
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

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2012 年 6 月 27 日
V1 = V(4 + (0:3));
  1 件のコメント
Sean de Wolski
Sean de Wolski 2012 年 6 月 27 日
v(4:7)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by