Julia Programming Language
How do I make a matrix of vectors?
General Usage
matrix
stevengj
September 30, 2025, 6:36am
2
You can do
reshape([a,b,c,d], 2,2)
to get a 2×2 matrix of vectors, if
a,b,c,d
are vectors.
show post in topic
Related topics
Topic
Replies
Views
Activity
Create a row matrix of vectors
General Usage
5
3387
November 21, 2016
Matrices with vectors in elements?
General Usage
4
432
April 21, 2020
Non-catting version of matrix construction
General Usage
12
1213
June 13, 2017
Vector to Matrix
Internals & Design
4
722
November 12, 2018
Concatenate and then unconcatenate
General Usage
question
10
1434
February 12, 2019