Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can my script be change so that it always include all the arrays with a value?

조회 수: 1 (최근 30일)
FV
FV 2020년 4월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a big struct where every field contains a huge number of cells that contains a number of arrays (double). The cells are splitted so almost all rows are empty only a few at the start and a few at the end. (1,1)-(10,1) have values and (1081,1)-(1084,1) have values (see picture below).
I want to change this script so that it always takes all the rows containing an array with values. And not the way it is now.
This is the part i want to change:
This is how the values can be:
Hope this is enough, so that someone can help me.

답변 (1개)

darova
darova 2020년 4월 8일
Try this approach
  댓글 수: 4

이 질문은 마감되었습니다.

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by