add delimeter to list = [list, newItem]

3 vues (au cours des 30 derniers jours)
Brent Vaalburg
Brent Vaalburg le 2 Déc 2018
Commenté : Walter Roberson le 2 Déc 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 commentaire
Walter Roberson
Walter Roberson le 2 Déc 2018
Are these text items?
perhaps
list = [list; newItem newItem2];

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by