Index a Matrix that gets smaller
조회 수: 1(최근 30일)
표시 이전 댓글
댓글: Bryson Prince 2021년 4월 11일
I have a cell array that I am deleting any rows with empty values, and while indexing I run into the error:
"Index in position 1 exceeds array bounds (must not exceed 347)."
Here is the script for the part that has the issue, how can I index a cell array while deleting stuff as it goes?
note: I am skipping the first row intentionally, and also only checking columns 4 through 7
댓글 수: 0
madhan ravi 2021년 4월 11일
for ind = size(RAW): -1 : 2
댓글 수: 1
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!