add delimeter to list = [list, newItem]

2 views (last 30 days)
Brent Vaalburg
Brent Vaalburg on 2 Dec 2018
Commented: Walter Roberson on 2 Dec 2018
Suppose I have a list that I am appending to like such:
list = [list, newItem newItem2]
How would I add a ; delimeter to each item so my list would look like this [1 2;3 4;4 5;] ??
  1 Comment
Walter Roberson
Walter Roberson on 2 Dec 2018
Are these text items?
list = [list; newItem newItem2];

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by