How to split/reduce dimension of a variable
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Olca Orakci
el 31 de Jul. de 2019
Comentada: Olca Orakci
el 31 de Jul. de 2019
Hello,
I have a variable of size 40 x 40 x 2 x 102400 and i want to seperate this variable to two 40 x 40 x 102400 variables. I plan to use the data on python, but have problems with the size and dimensions of the data. I don't know if this is an easy or a complex problem but i am new to matlab and couldn't find how to do this.
0 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 31 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 31 de Jul. de 2019
Lets var is the main variable-
var1=var(:,:,1,:);
var2=var(:,:,2,:);
4 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Structures 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!