Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
FV
FV le 8 Avr 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

darova
darova le 8 Avr 2020
Try this approach
  4 commentaires

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by