I know that num2str can be used like:
tested = 3.53;
X=[The mean of the data set is:', num2str(tested)];
disp(X);
Output: The mean of the data set is: 3.53
My question is how do I use a similar method to display a vector?
Essentially I have a vector given by Concentration=[3.5, 3.8, 3.2, 3.9] and would like to print out something along the lines of "The concentrations of the data set are: 3.5, 3.8, 3.2, 3.9"