add delimeter to list = [list, newItem]

3 Ansichten (letzte 30 Tage)
Brent Vaalburg
Brent Vaalburg am 2 Dez. 2018
Kommentiert: Walter Roberson am 2 Dez. 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 Kommentar
Walter Roberson
Walter Roberson am 2 Dez. 2018
Are these text items?
perhaps
list = [list; newItem newItem2];

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by