필터 지우기
필터 지우기

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 CenterFile Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by