if you have a cell array into a vector with strings, you can use the following command:
my_cell = {'a','b'};
my_new_vector = [my_cell{1:end}];
my_new_vector = [my_cell{1:end}];
just another blog. here you'll find my experiences with Matlab/Simulink, vba, LaTeX and Mac OS X.
if you have a cell array into a vector with strings, you can use the following command:
Posted by otmezger at 5:23 PM
Labels: cell array, matlab
5 comments:
thank you helped me with a program for homework in college.
A shorter version is:
my_new_vector = [my_cell{:}];
A shorter version is:
my_new_vector = [my_cell{:}];
A shorter version is:
my_new_vector = [my_cell{:}];
thank you very much. I was finding exactly this. Searched whole internet for proper matlab solutions but nothing worked until i came here
Post a Comment