[EDIT]
Say, I have a cell array A consisting of n cells and each of them is a zero vector of size (m,1).
Example: A is a 1x2 cell array A = [100x1 double] [100x1 double]
How can I insert new values to each cells, on the same rows and at the same time without having to write separate lines of code? Can I use cellfun to do so?
For instance, how can I replace the ithrow of the first cell with the new value m and the ithrow of the second cell with the new value n, using a single line of code?
m and n may or may not be the same values.
mto one cell andnto the other one, or two separate columns in rowi? - Trogdor