![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/24221638_1633505690904_DEF.jpg)
CM
自 2024 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
print numeric array as list with commas
Here's one more possibillity in one line using strip: a = 1:10; sprintf("%s", strip(sprintf("%d,", a), ",")) % ans = "1,2,3...
print numeric array as list with commas
Here's one more possibillity in one line using strip: a = 1:10; sprintf("%s", strip(sprintf("%d,", a), ",")) % ans = "1,2,3...
6 months 前 | 0