How to loop through cell arrays 3d

I have a 444x200x400 cell array, called chirps, that I am trying to loop through and do an equation on each cell. How would I do this?

Respuestas (1)

Ameer Hamza
Ameer Hamza el 28 de Sept. de 2020
Editada: Ameer Hamza el 28 de Sept. de 2020

0 votos

See cellfun(): https://www.mathworks.com/help/matlab/ref/cellfun.html. You can specify a function handle that will be applied to each cell in the array.

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Sept. de 2020

Comentada:

el 29 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by