Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

I have a data set with <1x4418 double>, and i want to convert the same data set <94x47 single or double>, how can i do this?

1 visualización (últimos 30 días)
I have a data set with <1x4418 double>, and i want to convert the same data set <94x47 single or double>, how can i do this?

Respuestas (1)

Star Strider
Star Strider el 28 de Ag. de 2019
Use the reshape function:
v = rand(1, 4418);
vr = reshape(v, 94, []);
  2 comentarios
Star Strider
Star Strider el 28 de Ag. de 2019
My pleasure.
If you want to chnage it from double to single, use the single function. Other relevant links are in and at the end of that page.

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by