Skip to main content
1-Visitor
November 28, 2022
Solved

How to append elements of two or more vectors

  • November 28, 2022
  • 1 reply
  • 4171 views

I am trying to create a vector with values like this

1, 2, 3, 4, 4.2, 4.4, 4.6, 4.8, 5, 6, 7, 8

In practice there will be many more values and it wouldn't be practical to enter them one at a time. If I create three vectors like this

v1 := 1,2..4

v2 = 4.2,.4...4.8

v3 = 5,6..8

Is there some way I can combine them into a single vector?

Also, I would like the resulting vector to be a row vector rather than a column vector (if that is possible).

Best answer by ttokoro

image.pngimage.pngimage.pngimage.pngimage.png

1 reply

ttokoro
21-Topaz I
ttokoro21-Topaz IAnswer
21-Topaz I
November 28, 2022

image.pngimage.pngimage.pngimage.pngimage.png

t.t.
PaulN1-VisitorAuthor
1-Visitor
November 28, 2022
Amazing ... I would never have found that. Many thanks