- don't let i get larget than 300
- make the variable contain more than 300 items
how to solve Index must not exceed 300
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Dave B
2021-11-14
If you refer to the 301st item in a list of 300 things, MATLAB will error
At least one of the variables in your equation contains 300 values and i is greater than 300.
Your options are:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!