I have these two errors when i try and run my script. Any help greatly appreciated
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (1개)
VBBV
2022년 12월 8일
편집: VBBV
2022년 12월 8일
T = [T tmpt]
From the error, it is possible that this condition
T(find(T==-9.99)) = NaN; %
is not satisfied in the last(215th) filename which will return a zero (empty) index value. In Matlab zero indexing is not used, only one based indexing is followed.
댓글 수: 3
Walter Roberson
2022년 12월 8일
find will never return 0. It can return empty but assignment using empty index is permitted.
You do not show us what the error is.
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!