Example:
title = ['a', 'b', 'c'];N = 3;a = [zeros(N,1), ones(N,1)];b = {repmat('no',N,1), repmat('yes',N,1)};c = {[]; 1; [1,2]}table = {title; a, b, c}
concatenate arrays
title = ['a', 'b', 'c'];N = 3;a = [zeros(N,1), ones(N,1)];b = {repmat('no',N,1), repmat('yes',N,1)};c = {[]; 1; [1,2]}table = {title; a, b, c}
Best Answer