# MATLAB: How to draw line from first element of cell array to same cell array but fliplr first element and soon

how take variable value every iteration

how to take the first element from two cell array in single for loop

CHM = {[] [] [17] [] [6,11] [1 9]};A = CHM(cellfun(@(x) ~isempty(x), CHM));A{:}            % Display Contents Of ‘A’
ans =      17ans =       6    11ans =       1     9