Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
FV
FV am 8 Apr. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (1)

darova
darova am 8 Apr. 2020
Try this approach
  4 Kommentare

Diese Frage ist geschlossen.

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by