MATLAB: Plot of rows from different cells of a cell array

cell arrayscatter plot

Hi,
I have a 1×7 cell array. Each cell contains a 48×57 matrix. I want a scatter plot of row 10, column 2 from cell 1-7 like: scatter(SNR{1, 1:7}(10,2),SNR{1, 1:7}(10,3)) This approach doesn't work. Any idea how I can manage this?

Best Answer

Working with cell arrays is not useful here. Simply convert the data to a numerical 3D array at first:
SNRd = cat(3, SNR{:});
scatter(SNRd(10, 2, 1:7), SNRd(10, 3, 1:7))
Maybe additional reshape commands are required to create vectors.