MATLAB: Problem in string-number concatenation concatenationnumbersstring hello, I am trying to concatenate two matrices, A=['a1';'a2';'a3';'a4'] and Z=[190;64;4;5]. I am not able to do so. Can someone help please. Thanks Annika Best Answer use cell arrayA={'a1';'a2';'a3';'a4'};Z=[190;64;4;5];out = [A, num2cell(Z)]; Related SolutionsMATLAB: How to count specific numbers in a matrix sum(X(:)>100); MATLAB: Derivative of a function (z - z1).*(z - z2).*(z - z3).*(z - z4) + (z - z1).*(z - z2).*(z - z3).*(z - z5) + (z - z1).*(z - z2).*(z - z4).*(z - z5) + (z - z1).*(z - z3).*(z - z4).*(z - z5) + (z - z2).*(z - z3).*(z - z4).*(z - z5) Related QuestionHow to decrease the number of points in a matrixI get Error while reading CSV file.How to do the equation following its answer on matlabCurl with symbolic vectorI want to convert pixel values into image. how to do it , i dont want to show it as graph etc i want to show the original image.What does “z” stands for in “solve” function
Best Answer