Remove emtpy cells within a structure

1 Ansicht (letzte 30 Tage)
Louise
Louise am 17 Mär. 2021
Kommentiert: Adam Danz am 23 Mär. 2021
Hi all,
Within a structure, is it possible to remove emtpy cell ?
For example in the capture, I would like that rows 13 to 26 move to rows 1 to 12...
Thanks in advance for your help !
Louise
  2 Kommentare
Rashed Mohammed
Rashed Mohammed am 23 Mär. 2021
Hi Louise
Can you elaborate on the problem you are facing?
Do you want to replace the empty cells of rows 1 to 12 for the fields orderV3D onwards with the data from rows 13 onwards? Unless 26 is a typo in your description, 13-26 has 14 rows but 1-12 has only 12 rows. So where should the extra data be present?
Adam Danz
Adam Danz am 23 Mär. 2021
It would be easier for us if we had a mat file containing the variable. Attach files uing the paperclip button in the editor.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Structures 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