In the following code, I can print all the elements in the item vector, separated by a space like
item = [123 456 789]; sprintf('%d %d %d', item) ans = 123 456 789
How can I do this without typing so many %d in the number of elements in item ?
printf matlab
Maddy
source share