insert vector between two points
이전 댓글 표시
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
2017년 11월 11일
편집: Roger Stafford
2017년 11월 11일
t = [t(1:3);s;t(4:6)];
카테고리
도움말 센터 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!