Changing size (3D to 4D)

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 14 de Dic. de 2020
Editada: KALYAN ACHARJYA el 14 de Dic. de 2020

0 votos

data=rand(10000,40,40);
result=reshape(data,[10000,40,40,1]);
Is there any sense? data (10000,40,40) might considering same for (10000,40,40,1). There might be no difference to implement 1 more dimemtion, which olready have in space vector,
e.g.
>> data=rand(3,3);
>> data(2,3,1,1)
ans =
0.7719

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de Dic. de 2020

Editada:

el 14 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by