Reputation: 652
I'm hoping to find a simple way of converting a vector of numbers to a string in matlab.
Lets say I have a vector b,
b[1 2 4 3];
is there something simple such as
b = vect2str(b);
Upvotes: 3
Views: 12134
Reputation: 12689
how about
b = [1 2 4 3]; b = num2str(b);
Upvotes: 6