MATLAB: Is there a way to combine a cell array element and a string array into 1 string data typesstring arrays I need to add a '<' sign in front of a number so that it looks like '<9' I have a column of character arrays with the numbers and a Column of equal number of '<' as cell arrays. is this possible? Best Answer strcat('<', YourCharacterColumn) Related SolutionsMATLAB: Combine ARRAYS doc catThis should work, too:C = [A ; B]; MATLAB: How to turn a number array into a specific string set array_cell = num2str(array) I think is the problem. Try using the num2str within the for loop.for i=1:size(array,2) data{row,i+1} = colorgen(color, num2str(array(i)));end Related QuestionCombine arraysArray of strings into 2 number arrayHow could it be determined one array of a cell containing an string or a numberConcatenate string to string array in efficient way
Best Answer