Combining vectors to make a matrix
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying to combine a row vector and column vector to get a matrix of certain dimensions. My row vector is of dimensions 1x1440 and column vector is by 1440x1, but when i go to combine the vectors into a matrix, it has resulting dimensions of 1440x2. But i want it to have dimensions of 1440x1440. How would i get this to work?
This is the code I have for what I've done so far. Thanks for any help.
guessrow = linspace(139,150,1440); guessrow = guessrow/norm(guessrow)
guesscolumn = linspace(10,22,1440)'; guesscolumn = guesscolumn/norm(guesscolumn)
guessi = [guessrow(:), guesscolumn(:)]
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox 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!