0
$\begingroup$

I have a vector $v\in\mathbb{R}^{mn\times 1}$ and I would like to make a matrix out of it in such form: $$V=\begin{bmatrix}v_{1} & v_{2} & \dots & v_{m} \\ \vdots & \vdots & \dots & \vdots\\ v_{(n-1)m+1} & v_{(n-1)m+2} & \dots & v_{mn} \end{bmatrix}$$

Is there a mathematical way to do so?

$\endgroup$
  • $\begingroup$ This operation called "reshape()" in Matlab for example, has, up to my knowledge, no simple writing in terms of usual matrix/vectors classical operators such as transposition, invertion, trace, det,... $\endgroup$ – Jean Marie May 19 at 6:02
  • $\begingroup$ I would like to find a mathematical way of doing the reshaping... $\endgroup$ – Seda May 19 at 7:24
  • $\begingroup$ Yes, there is a mathematical way to do so. I'd tell you what it is, but you wrote it down yourself in your question. Which leaves me wondering what in the world you think a "mathematical way" means? $\endgroup$ – Paul Sinclair May 19 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.