D.W. Frye

MathWorks

Active since 2011

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Answered
How do I convert a numerical vector into a comma-delimited string?
n = [12345 6789 10234 3452]; allOneString = sprintf('%.0f,' , n); allOneString = allOneString(1:end-1);% strip final c...

14 years ago | 14

| accepted

Question


How do I convert a numerical vector into a comma-delimited string?
Given a numerical vector, how do I convert it into a comma-delimited string? For example, if n = [12345 6789 10234 3452...

14 years ago | 7 answers | 7

7

answers