How to loop through cell arrays 3d
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Ameer Hamza
2020-9-28
编辑:Ameer Hamza
2020-9-28
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!