I have one column data 57600 points, how can i convert it to 240 by 240 matrix!
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have one column data 57600 points, how can i convert it to 240 by 240 matrix!
0 comentarios
Respuestas (2)
James Tursa
el 17 de Abr. de 2023
x = your column vector
result = reshape(x,240,240);
or you might need the transpose:
result = reshape(x,240,240).';
0 comentarios
the cyclist
el 17 de Abr. de 2023
% Input
V = rand(57600,1);
% Reshape it
M = reshape(V,240,240);
You may need to transpose M for your purposes.
0 comentarios
Ver también
Categorías
Más información sobre Data Types 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!