How I can solve this kind of error?
조회 수: 1 (최근 30일)
이전 댓글 표시
and I am writing this code
댓글 수: 1
답변 (2개)
Sobha T
2021년 10월 25일
If comb5 is a one-dimensional array, then you can use : instead of ,
as shown below
comb5(row:end-1)
댓글 수: 0
Image Analyst
2021년 10월 25일
Before the while loop, put this
[rows, columns] = size(comb5) % Don't use a semicolon
what do you see? Chances are you have 1 row and several columns, so you can't reference comb5(1+1, end) because comb5 does not have 2 rows.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!