Delete a cell, not some elements

2 Ansichten (letzte 30 Tage)
Dommal
Dommal am 21 Mai 2016
Kommentiert: Dommal am 21 Mai 2016
Hi everyone,
Is there an option to delete a cell? Not some elements but the whole cell. Like for variables I would use clear variableName, but for cells this doesn't work.
Thanks

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 21 Mai 2016
a={1 2 3 4}
a(1)=[]
  1 Kommentar
Dommal
Dommal am 21 Mai 2016
That's what I needed. Thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by