Is there a set of matrix transformations that convert a 1D vector into a 2D matrix? I have a ve

Tessa Leach

Tessa Leach

Answered question

2022-01-31

Is there a set of matrix transformations that convert a 1D vector into a 2D matrix?
I have a vector:
[abcdef]
to convert into a 2D matrix.
[abcdef]
Is there a series of multiplicative matrix transformations that performs this reshaping, and if so, what is the general name for this operation?

Answer & Explanation

coolbananas03ok

coolbananas03ok

Beginner2022-02-01Added 20 answers

Step 1
It is not possible to do this by matrix multiplications: If A,B are matrices such that
AvB=(abcdef)
for all
v=(abcdef)
then A must be 3×1 and B must be 6×2. But then vB is only 1×2, which is too small for the six desired dimensions of the final result.
seibesitoeu

seibesitoeu

Beginner2022-02-02Added 12 answers

Yes, the operation is called matrixication (or the inverse operation of vectorization). From a formal perspective, the space of m×n matrices is isomorphic to the space of mn dimensional vectors. The isomorphism which establishes the the isomorphy is the vectorization operator vec. This operator turns a matrix into a vector by stacking the columns. Since vec is am isomorphism, there exists the inverse operation vec1, which turns a vector into a matrix by unstacking the vector.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Linear algebra

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?