![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282913/image.png)
Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How can my script be change so that it always include all the arrays with a value?
1 回表示 (過去 30 日間)
古いコメントを表示
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282824/image.png)
This is how the values can be:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282825/image.png)
Hope this is enough, so that someone can help me.
0 件のコメント
回答 (1 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!