I need a code which receive a 1xn number array like [2 , 6, 9] and converts it to a 1x1 string data in this way :
2, 6, 9
or this way :
2, 6, 9,
s = sprintf('%d,', a)
where a is your vector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With