フィルターのクリア

insert vector between two points

4 ビュー (過去 30 日間)
nonet21
nonet21 2017 年 11 月 11 日
編集済み: Roger Stafford 2017 年 11 月 11 日
Hello I have two vectors t=[1,2,3,4,5,6] s=[7,8,9] And i want insert the vector s in vector t like that: t=[1,2,3,7,8,9,4,5,6] And i want this special order. Thank you :)

回答 (1 件)

Roger Stafford
Roger Stafford 2017 年 11 月 11 日
編集済み: Roger Stafford 2017 年 11 月 11 日
t = [t(1:3);s;t(4:6)];

カテゴリ

Help Center および File ExchangeOperators and Elementary Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by