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!