insert vector between two points
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 :)
0 Kommentare
Antworten (1)
Roger Stafford
am 11 Nov. 2017
Bearbeitet: Roger Stafford
am 11 Nov. 2017
t = [t(1:3);s;t(4:6)];
0 Kommentare
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!