I have a matrix of data which is organized in a vector (let's say k variables and n observations, so the vector has the length of n*k). I would like to rearrange it so that eventually I have a k X n array.
Can somebody help me?
I have a matrix of data which is organized in a vector (let's say k variables and n observations, so the vector has the length of n*k). I would like to rearrange it so that eventually I have a k X n array.
Can somebody help me?
Welcome to the board
select the matrix
Copy
Go to where you want the new matrix
Ricght-click
Select Paste Special
Check " transpose"
Ok
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks