Remove emtpy cells within a structure

1 view (last 30 days)
Louise
Louise on 17 Mar 2021
Commented: Adam Danz on 23 Mar 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 Comments
Rashed Mohammed
Rashed Mohammed on 23 Mar 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 on 23 Mar 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.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!