sum of doubles into cell arrays
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mori
el 13 de Jul. de 2016
Editada: the cyclist
el 13 de Jul. de 2016
I have a cell, called A with 1*7 cell, then each cell has 1*3 other cells and each of them has 10* 1300 doubles.
I want cell B with 1*7 cell, each cell has 1*3 cell and each of them has sum of columns (1*1300).
- Thanks
0 comentarios
Respuesta aceptada
the cyclist
el 13 de Jul. de 2016
Editada: the cyclist
el 13 de Jul. de 2016
B = cellfun(@(x)cellfun(@(y)sum(y),x,'UniformOutput',false),A,'UniformOutput',false)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Multidimensional Arrays 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!