SP={{{1,4,5,6},{2},{3}}}SP = 1×1 cell array{1×3 cell}d=SP{1}d = 1×3 cell array {1×4 cell} {1×1 cell} {1×1 cell}d{1}ans = 1×4 cell array {[1]} {[4]} {[5]} {[6]}
I want d{1} to be
1 4 5 6
to be able to use these as indices of a matrix.
Best Answer