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?
답변 (1개)
Ameer Hamza
2020년 9월 28일
편집: Ameer Hamza
2020년 9월 28일
0 개 추천
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.
댓글 수: 1
Nurul Ain Basirah Zakaria
2020년 9월 29일
카테고리
도움말 센터 및 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!