Remove emtpy cells within a structure

조회 수: 4 (최근 30일)
Louise
Louise 2021년 3월 17일
댓글: Adam Danz 2021년 3월 23일
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
Rashed Mohammed
Rashed Mohammed 2021년 3월 23일
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 2021년 3월 23일
It would be easier for us if we had a mat file containing the variable. Attach files uing the paperclip button in the editor.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by