Manipulating arrays within a cell array
Show older comments
I have a cell array, A_C which has 401 cells (1x401) each with arrays of varying sizes, but same dimensionality. I'm trying to divide each element within an array by the number of elements within that array. And then replace the array with the new one.
So for example, the array A(1,2) = 1x101, I want to divide each element within this array by 101, B = A(1,2)/101 and then I want to replace the array at A(1,2) by B.
Accepted Answer
More Answers (1)
mathman
on 4 Jan 2018
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!