How can i convert a numeric array to a single string, where array numbers will be separated with a comma ?
(e.g. convert A=[1 2 3] to a string '1,2,3')
Moreover, is there any way to apply the same above in case that matrix A contains variables in a for loop?
(e.g.
for i=1,10 A(i)=[1 1 i+1]; end
As variable i varies, I need to obtain a string '1,1,i+1'
thanks a lot !