how to convert a matrix into a vector
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tanner D Whatley
el 18 de Mzo. de 2021
Comentada: Tanner D Whatley
el 18 de Mzo. de 2021
Hello all!
I have this matrix that is a size n x N and i would like to convert this matrix into a a vector of n*N x 1.
N = 401 and n = 5
so this is saying that every column has 5 dta points and I would like to have a column vector of the first column in the original matrix being the first set of rows in the new vector, the next column of the matrix be the next set of rows in vector etc.
Any help on automating this so I don't have to hard code a new column vector would be much appriciated!
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!