MATLAB: How can store string and number in a matrix matrixnumberstring i want to store string and numbers in a matrix for example store word 'matlab' in one cell and 'ver' & '12' in other cells Best Answer A={'matlab', {'ver',12}} Related SolutionsMATLAB: How to export cell array to excel A = {'matlab' 'ver' num2str(12)}; % actually no need of number to string conversionwritecell(A, 'filemname.xlsx'); MATLAB: How to obtain array of strings contained in a cell yourCell{1} Related QuestionLooping through a cell with datasetsHow to define and store string to matrix or arrayHow to extract the structure array from a cell arrayHow to store cell arraysHow to store the matrix value in cell array
Best Answer