Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (1)

darova
darova on 8 Apr 2020
Try this approach
  4 Comments

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!